Difference between revisions of "Suits"

From cm2.liecourt.com
(Fill database)
(Fill database)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{CURRENTLOGGEDUSER}}|{{#arraydefine:@yours|{{#ask:[[Class::Participant]][[User::User:{{CURRENTLOGGEDUSER}}]]|?Role|?Workflow|format=array|link=none}} }}{{#if:{{#arrayprint:@yours}}|<h1>Your suits</h1>{{#arraymap:{{#arrayprint:@yours}}|,|@@@|<div class="d-flex">{{#ask:[[Class::Suit]][[Workflow::{{#explode:@@@|<PROP>|2}}]] }} ({{#explode:@@@|<PROP>|1}})</div>  |}}<h1>All suits</h1> }} }}
+
{{#if:{{CURRENTLOGGEDUSER}}|{{#if:{{CURRENTLOGGEDUSER}}|{{#arraydefine:@yours|{{#ask:[[Class::Participant]][[User::User:{{CURRENTLOGGEDUSER}}]]|?Role|?Workflow|?Workflow.Random juror|format=array|link=none}} }}{{#if:{{#arrayprint:@yours}}|<h1>Your suits</h1>{{#arraymap:{{#arrayprint:@yours}}|,|@@@|{{#if:{{#explode:@@@|<PROP>|3}}|<div class="d-flex">{{#ask:[[Class::Suit]][[Workflow::{{#explode:@@@|<PROP>|2}}]] }} ({{#explode:@@@|<PROP>|1}})</div>}} |}}<h1>Example suits</h1> }} }}  
  
{{#ask:[[Class::Suit]]|?Workflow.Type|mainlabel=Case
+
<!--{{#ask:[[Class::Suit]]|?Workflow.Type|mainlabel=Case
 
|format=table
 
|format=table
 
|headers=plain
 
|headers=plain
|class=datatable}}
+
|class=datatable}}-->
 +
{{:Suits to show}}
 
{{Managed
 
{{Managed
 
|Version=1.0
 
|Version=1.0
Line 11: Line 12:
 
|Hide=Yes
 
|Hide=Yes
 
}}
 
}}
 +
|<div class="m-5 alert alert-danger">Not permitted</div>}}

Latest revision as of 11:56, 23 September 2021

Not permitted