Difference between revisions of "Template:Workflow"
From cm2.liecourt.com
Line 156: | Line 156: | ||
|1=<b>Invited Jurors</b> | |1=<b>Invited Jurors</b> | ||
|2=<div class="mt-4 mb-4 tab-content"><!-- | |2=<div class="mt-4 mb-4 tab-content"><!-- | ||
− | --><div class="active tab-pane" id="juror-info-tab">{{#arraymap:{{{Random juror|}}}|,|@@@|{{#ifeq:@@@|done||@@@}}| | + | --><div class="active tab-pane" id="juror-info-tab">{{#arraymap:{{{Random juror|}}}|,|@@@|{{#ifeq:@@@|done||@@@}}{{#vardefine:@user|{{PAGENAME:@@@ }} }}<!-- |
+ | -->{{#if:{{#show:User:{{#var:@user}}|?Email}}|{{#tag:wsform| | ||
+ | {{#tag:wsemail||parselast=true|template=Template:Role invite}} | ||
+ | {{#tag:wsfield||type=hidden|name=User|value={{#var:@user}} }} | ||
+ | {{#tag:wsfield||type=hidden|name=Workflow|value={{PAGENAME}} }} | ||
+ | {{#tag:wsfield||type=submit|style=padding-right:24px;|value=Notify}} | ||
+ | |action=mail|style=display: inline;}}|{{#tag:wsfield||type=submit|style=padding-right:24px;|value=No e-mail|disabled=disabled}} }}|<br>}} {{#widget:link|datatoggle=pill|href=#juror-form-tab|text=Change|type=a|class=btn btn-green}}</div><!-- | ||
--><div class="tab-pane" id="juror-form-tab"> <wsform action="mail"> | --><div class="tab-pane" id="juror-form-tab"> <wsform action="mail"> | ||
{{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Random juror}} | {{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Random juror}} |
Revision as of 15:55, 26 May 2020
This is the Workflow template. It should be called in the following format:
{{Workflow |Case ID= |Type= |Stage= |Filed by= |Lie= |Topic= |Description= |Lies= |Facts= |Locations= |Judge= |Juror amount= |Jurors= |Suit date= |Plaintiff verdict= |Reason for judge decline= |Random judge= |Random juror= |Declined judge= |Declined juror= }}