Difference between revisions of "Edit case"

From cm2.liecourt.com
(Fill database)
(Fill database)
 
(8 intermediate revisions by 2 users not shown)
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|?uuid|link=none|format=array}} }}
+
{{#vardefine:@info|{{#ask:[[Workflow/{{#urldecode:{{#urlget:id}} }}]]|?Lie|?Markup|?Topic|?Description|?Locations|?Accusation|?uuid|?Meeting|link=none|format=array}} }}
  
  
Line 150: Line 150:
 
  <wsedit target="{{#var:pid}}" template="Workflow" formfield="Markup"  />
 
  <wsedit target="{{#var:pid}}" template="Workflow" formfield="Markup"  />
 
   <wsedit target="{{#var:pid}}" template="Workflow" formfield="Locations"  />
 
   <wsedit target="{{#var:pid}}" template="Workflow" formfield="Locations"  />
 +
  <wsedit target="{{#var:pid}}" template="Workflow" formfield="Meeting"  />
  
  
Line 183: Line 184:
 
}}
 
}}
  
 +
 +
{{Item responsive |Cols={{#var:@cols|4-8}}
 +
|1=<h3>Meeting link</h3>
 +
|2=<div class="">{{#tag:wsfield||type=text|class=form-control mt-2|name=Meeting|placeholder=Skype/Zoom/...|value={{#explode:{{#var:@info}}|<PROP>|8}} }}</div>
 +
}} 
 +
 
 
<div >
 
<div >
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
Line 190: Line 197:
  
 
-->{{#Widget:Multi upload|edit=true|id={{#explode:{{#var:@info}}|<PROP>|7}} }}</div>
 
-->{{#Widget:Multi upload|edit=true|id={{#explode:{{#var:@info}}|<PROP>|7}} }}</div>
  }}</div>
+
    <small class="muted">* file selction will be uploaded on submitting</small>
 +
}}</div>
 
<!--{{Item responsive |Cols={{#var:@cols|4-8}}
 
<!--{{Item responsive |Cols={{#var:@cols|4-8}}
 
|1=<h3>Class suit?</h3>
 
|1=<h3>Class suit?</h3>

Latest revision as of 10:08, 25 August 2022