Difference between revisions of "Template:Participant"
From cm2.liecourt.com
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> }} }}<!-- |
-->}}<!-- | -->}}<!-- | ||
-->|<!-- | -->|<!-- |
Revision as of 13:57, 30 March 2022
This is the Participant template. It should be called in the following format:
{{Participant |User= |Workflow= |Case ID= |Role= }}