Difference between revisions of "Template:Participant"

From cm2.liecourt.com
 
(2 intermediate revisions by 2 users not shown)
Line 302: Line 302:
 
       -->{{verdict results|Verdict={{#var:@verdict}} }}<br><!--
 
       -->{{verdict results|Verdict={{#var:@verdict}} }}<br><!--
 
       -->{{#ifeq:{{#show:{{{Workflow|}}}|?Stage}}|Settled| |<!--
 
       -->{{#ifeq:{{#show:{{{Workflow|}}}|?Stage}}|Settled| |<!--
         -->{{#widget:link|type=a|href={{fullurl:{{#var:@verdict}}|Participant={{#var:@fullpagename}} }}|text=Edit verdict |onclick=this.classList.add('pending') |class=btn btn-green }} {{#ifeq:{{#show:{{{Workflow}}}|?Stage }}|Settled|| {{#ifeq:{{{Role|}}}|Judge|<wsfield type="button" onclick="$('#realSettleButton').click()" class="btn btn-red">Mark case settled</wsfield> }}  }}<!--
+
         -->{{#widget:link|type=a|href={{fullurl:{{#var:@verdict}}|Participant={{#var:@fullpagename}} }}|text=Edit verdict |onclick=this.classList.add('pending') |class=btn btn-green }} {{#ifeq:{{#show:{{{Workflow}}}|?Stage }}|Settled|| {{#ifeq:{{{Role|}}}|Judge|<wsfield type="button" onclick="$('#realSettleButton').click(); this.classList.add('pending')" class="btn btn-red">Mark case settled</wsfield> }}  }}<!--
 
       -->}}<!--
 
       -->}}<!--
 
   -->|<!--
 
   -->|<!--

Latest revision as of 07:49, 8 April 2022


This is the Participant template. It should be called in the following format:

{{Participant
|User=
|Workflow=
|Case ID=
|Role=
}}