Difference between revisions of "Edit case"
From cm2.liecourt.com
(Fill database) |
(Fill database) |
||
Line 2: | Line 2: | ||
{{#vardefine:allowed|{{#ifeq:{{#show:Workflow/{{#urldecode:{{#urlget:id}} }}|?Filed by}}|User:{{CURRENTLOGGEDUSER}}|yes}}{{#ifsysop:yes}} }} | {{#vardefine:allowed|{{#ifeq:{{#show:Workflow/{{#urldecode:{{#urlget:id}} }}|?Filed by}}|User:{{CURRENTLOGGEDUSER}}|yes}}{{#ifsysop:yes}} }} | ||
{{#if:{{#var:allowed}}| | {{#if:{{#var:allowed}}| | ||
− | {{#vardefine:@info|{{#ask:[[Workflow/{{#urldecode:{{#urlget:id}} }}]]|?Lie|?Markup|?Topic|?Description|?Locations|?Accusation|link=none|format=array}} }} | + | {{#vardefine:@info|{{#ask:[[Workflow/{{#urldecode:{{#urlget:id}} }}]]|?Lie|?Markup|?Topic|?Description|?Locations|?Accusation|?uuid|link=none|format=array}} }} |
Line 163: | Line 163: | ||
}} | }} | ||
− | + | <h1>The Lie and Context</h1><!-- | |
− | |||
− | |||
− | |||
-->{{Item responsive |Cols={{#var:@cols|4-8}} | -->{{Item responsive |Cols={{#var:@cols|4-8}} | ||
|1=<h3>Accusation with Evidence</h3> | |1=<h3>Accusation with Evidence</h3> | ||
Line 186: | Line 183: | ||
}} | }} | ||
− | <div | + | <div > |
{{Item responsive |Cols={{#var:@cols|4-8}} | {{Item responsive |Cols={{#var:@cols|4-8}} | ||
|1=<h3>Evidence screenshot</h3> | |1=<h3>Evidence screenshot</h3> | ||
− | |2=<div class="">{{#Widget:Multi upload|id={{#var:@ | + | |2=<div class="case-img-wrapper"><!-- |
+ | -->{{#arraymap:{{#ask:[[Class::Case file]][[Case file::{{#explode:{{#var:@info}}|<PROP>|7}}]]|link=none}}|,|@@@|<span class="btn position-relative img-thumbnail m-1" data-removefile="@@@"> <span class=" position-absolute bg-white p-1">{{fa|times }}</span>[[@@@|link=|70px]]</span>|}}<!-- | ||
+ | |||
+ | -->{{#Widget:Multi upload|edit=true|id={{#explode:{{#var:@info}}|<PROP>|7}} }}</div> | ||
}}</div> | }}</div> | ||
<!--{{Item responsive |Cols={{#var:@cols|4-8}} | <!--{{Item responsive |Cols={{#var:@cols|4-8}} |