Difference between revisions of "Template:Messages"

From cm2.liecourt.com
(Fill database)
 
(One intermediate revision by the same user not shown)
Line 49: Line 49:
  
 
{{#tag:wsform|
 
{{#tag:wsform|
{{#tag:wscreate||mwwrite=Workflow/|mwtemplate=Workflow|mwoption=range:00001-99999 }}
+
{{#tag:wscreate||mwwrite=Workflow/|mwtemplate=Workflow|mwoption=add_random }}
 
{{#tag:wsfield||type=hidden|name=Lie|value={{#explode:@@@|<PROP>|13}} }}
 
{{#tag:wsfield||type=hidden|name=Lie|value={{#explode:@@@|<PROP>|13}} }}
 
{{#tag:wsfield||type=hidden|name=Type|value=Class }}
 
{{#tag:wsfield||type=hidden|name=Type|value=Class }}
Line 58: Line 58:
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Class request|value=Approved}}<!--  
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Class request|value=Approved}}<!--  
 
  -->{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Stage|value=Settled}}
 
  -->{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Stage|value=Settled}}
{{#tag:wsfield||type=submit|value=Approve request|class=btn btn-green btn-half }}
+
{{#tag:wsfield||type=submit|value=Approve request|onclick=this.classList.add('pending')|class=btn btn-green btn-half }}
 
|action=addToWiki}}
 
|action=addToWiki}}
 
|{{#tag:wsform|
 
|{{#tag:wsform|
Line 64: Line 64:
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Stage|value=Settled}}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Stage|value=Settled}}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:{{#var:@classinfo}}|<PROP>|0}}}}|template=Workflow|formfield=Class case IDs|value={{#if:{{#explode:{{#var:@classinfo}}|<PROP>|11}}| {{#arraymap:{{#explode:{{#var:@classinfo}}|<PROP>|11}}|<MANY>|###|###|,}} , {{#explode:@@@|<PROP>|0}}  |{{#explode:@@@|<PROP>|0}} }} }}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:{{#var:@classinfo}}|<PROP>|0}}}}|template=Workflow|formfield=Class case IDs|value={{#if:{{#explode:{{#var:@classinfo}}|<PROP>|11}}| {{#arraymap:{{#explode:{{#var:@classinfo}}|<PROP>|11}}|<MANY>|###|###|,}} , {{#explode:@@@|<PROP>|0}}  |{{#explode:@@@|<PROP>|0}} }} }}
{{#tag:wsfield||type=submit|value=Approve request|class=btn btn-green btn-half }}
+
{{#tag:wsfield||type=submit|value=Approve request|onclick=this.classList.add('pending')|class=btn btn-green btn-half }}
  
 
|action=addToWiki}}
 
|action=addToWiki}}
Line 85: Line 85:
 
{{#widget:link|type=a|href={{#var:@partpage}}|class=btn btn-green mt-4 mb-4|text=Create verdict}}
 
{{#widget:link|type=a|href={{#var:@partpage}}|class=btn btn-green mt-4 mb-4|text=Create verdict}}
 
|{{#tag:wsform|  
 
|{{#tag:wsform|  
{{#tag:wscreate||mwwrite=Participant/|mwtemplate=Participant|mwoption=range:00001-99999|mwfollow=true }}
+
{{#tag:wscreate||mwwrite=Participant/|mwtemplate=Participant|mwoption=add_random|mwfollow=true }}
 
<!--{{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Plaintiff verdict|value=Yes}}-->
 
<!--{{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Plaintiff verdict|value=Yes}}-->
 
{{#tag:wsfield||type=hidden|name=User|value={{{Fullpagename|}}} }}
 
{{#tag:wsfield||type=hidden|name=User|value={{{Fullpagename|}}} }}
Line 91: Line 91:
 
{{#tag:wsfield||type=hidden|name=Case ID|value={{#explode:@@@|<PROP>|1}} }}
 
{{#tag:wsfield||type=hidden|name=Case ID|value={{#explode:@@@|<PROP>|1}} }}
 
{{#tag:wsfield||type=hidden|name=Workflow|value={{#explode:@@@|<PROP>|0}} }}
 
{{#tag:wsfield||type=hidden|name=Workflow|value={{#explode:@@@|<PROP>|0}} }}
{{#tag:wsfield||type=submit|value=Create verdict|class=btn btn-green ml-4 mt-4 mb-4}}
+
{{#tag:wsfield||type=submit|value=Create verdict|onclick=this.classList.add('pending')|class=btn btn-green ml-4 mt-4 mb-4}}
 
|action=addToWiki}} }}
 
|action=addToWiki}} }}
 
{{#tag:html|</details>}}
 
{{#tag:html|</details>}}
Line 174: Line 174:
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}} }}|template=Workflow|formfield=Reason for judge decline}}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}} }}|template=Workflow|formfield=Reason for judge decline}}
 
{{#tag:wsfield||type=textarea|placeholder=Reason|name=Reason for judge decline|class=form-control mb-4}}
 
{{#tag:wsfield||type=textarea|placeholder=Reason|name=Reason for judge decline|class=form-control mb-4}}
{{#tag:wsfield||type=submit|value=Save|class=btn btn-green}}
+
{{#tag:wsfield||type=submit|value=Save|onclick=this.classList.add('pending')|class=btn btn-green}}
 
|action=addToWiki|class=d-none pb-4|id=dec-{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}} }}
 
|action=addToWiki|class=d-none pb-4|id=dec-{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}} }}
<div class="d-flex justify-content-center pb-4" id="{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}}">{{#tag:wsfield|Decline judge role|type=button|onclick=openInput('dec','{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}}')|class=btn btn-half btn-red}}{{#tag:wsfield|Accept judge role|type=button|onclick=submitInput('{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}}');|class=btn btn-half btn-green}}</div><!--submitInput('{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}}'-->
+
<div class="d-flex justify-content-center pb-4" id="{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}}">{{#tag:wsfield|Decline judge role|type=button|onclick=openInput('dec','{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}}')|class=btn btn-half btn-red}}{{#tag:wsfield|Accept judge role|type=button|onclick=this.classList.add('pending');submitInput('{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}}');|class=btn btn-half btn-green}}</div><!--submitInput('{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}}'-->
 
{{#tag:wsform|
 
{{#tag:wsform|
{{#tag:wscreate||mwwrite=Participant/|mwtemplate=Participant|mwoption=range:00001-99999|mwfollow=true}}
+
{{#tag:wscreate||mwwrite=Participant/|mwtemplate=Participant|mwoption=add_random|mwfollow=true}}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}} }}|template=Workflow|formfield=Stage|value=Judge accepted}}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}} }}|template=Workflow|formfield=Stage|value=Judge accepted}}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}} }}|template=Workflow|formfield=Judge|value={{{Fullpagename|}}} }}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}} }}|template=Workflow|formfield=Judge|value={{{Fullpagename|}}} }}
Line 186: Line 186:
 
{{#tag:wsfield||type=hidden|name=Case ID|value={{#explode:@@@|<PROP>|3}} }}
 
{{#tag:wsfield||type=hidden|name=Case ID|value={{#explode:@@@|<PROP>|3}} }}
 
{{#tag:wsfield||type=hidden|name=Workflow|value={{#explode:@@@|<PROP>|0}} }}
 
{{#tag:wsfield||type=hidden|name=Workflow|value={{#explode:@@@|<PROP>|0}} }}
{{#tag:wsfield||type=submit|value=Save|class=btn btn-green mt-4|id=submit-{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}}}}
+
{{#tag:wsfield||type=submit|value=Save|onclick=this.classList.add('pending')|class=btn btn-green mt-4|id=submit-{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}}}}
 
|action=addToWiki|class=d-none pb-4|id=acp-{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}} }}</div>
 
|action=addToWiki|class=d-none pb-4|id=acp-{{#explode:{{#explode:@@@|<PROP>|0}}|/|1}} }}</div>
 
{{#tag:html|</details>}}
 
{{#tag:html|</details>}}
Line 210: Line 210:
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Declined juror|value={{#if:{{#explode:@@@|<PROP>|1}}|{{#arraymap:{{#explode:@@@|<PROP>|1}}|<MANY>|@@@|@@@|,}}, {{{Fullpagename|}}}| {{{Fullpagename|}}} }} }}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Declined juror|value={{#if:{{#explode:@@@|<PROP>|1}}|{{#arraymap:{{#explode:@@@|<PROP>|1}}|<MANY>|@@@|@@@|,}}, {{{Fullpagename|}}}| {{{Fullpagename|}}} }} }}
 
{{#ifexpr:{{#arraysize:@jurrors}} < {{#var:@nrofjurorswanted}}|
 
{{#ifexpr:{{#arraysize:@jurrors}} < {{#var:@nrofjurorswanted}}|
{{#tag:wsfield||type=submit|value=Decline juror role|class=btn btn-red btn-half}}
+
{{#tag:wsfield||type=submit|onclick=this.classList.add('pending')|value=Decline juror role|class=btn btn-red btn-half}}
 
}}
 
}}
 
|action=addToWiki}}
 
|action=addToWiki}}
 
{{#tag:wsform|
 
{{#tag:wsform|
{{#tag:wscreate||mwwrite=Participant/|mwtemplate=Participant|mwoption=range:00001-99999|mwfollow=true}}
+
{{#tag:wscreate||mwwrite=Participant/|mwtemplate=Participant|mwoption=add_random|mwfollow=true}}
 
{{#tag:wsfield||type=hidden|name=User|value={{{Fullpagename|}}} }}
 
{{#tag:wsfield||type=hidden|name=User|value={{{Fullpagename|}}} }}
 
{{#tag:wsfield||type=hidden|name=Role|value=Juror }}
 
{{#tag:wsfield||type=hidden|name=Role|value=Juror }}
 
{{#arraydefine:@countjurors|{{#explode:@@@|<PROP>|11}}|<MANY>}}
 
{{#arraydefine:@countjurors|{{#explode:@@@|<PROP>|11}}|<MANY>}}
{{#tag:wsfield||type=hidden|name=Name|value=Juror {{#expr:{{#if:{{#arraysize:@countjurors}}|{{#arraysize:@countjurors}}|0}} + 1}} }}
+
  {{#vardefine:@sub|<nowiki>{{subst:#if:true|{{subst:#expr:{{subst:#ask:[[Role::Juror]][[Workflow::</nowiki>{{#explode:@@@|<PROP>|0}}<nowiki>]][[Class::Participant]]|format=count}} + 1 }} }}</nowiki> }}
 +
  {{#tag:wsfield||type=hidden|name=Name|value=Juror {{#var:@sub}} }}
 
{{#tag:wsfield||type=hidden|name=Workflow|value={{#explode:@@@|<PROP>|0}} }}
 
{{#tag:wsfield||type=hidden|name=Workflow|value={{#explode:@@@|<PROP>|0}} }}
 
{{#tag:wsfield||type=hidden|name=Case ID|value={{#explode:@@@|<PROP>|3}} }}
 
{{#tag:wsfield||type=hidden|name=Case ID|value={{#explode:@@@|<PROP>|3}} }}
Line 229: Line 230:
 
}} }}
 
}} }}
 
{{#ifexpr:{{#arraysize:@jurrors}} < {{#var:@nrofjurorswanted}}|
 
{{#ifexpr:{{#arraysize:@jurrors}} < {{#var:@nrofjurorswanted}}|
{{#tag:wsfield||type=submit|value=Accept juror role|class=btn btn-green btn-half }}
+
{{#tag:wsfield||type=submit|value=Accept juror role|onclick=this.classList.add('pending')|class=btn btn-green btn-half }}
 
}}
 
}}
 
|action=addToWiki}}
 
|action=addToWiki}}

Latest revision as of 12:28, 8 April 2022

Messages

A case you filed is settled

Case ID:<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part ""." of the query was not understood.Results might not be as expected.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>
Suit:The query description has an empty condition.

A case you are jurying is changed
Case ID:<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part ""." of the query was not understood.Results might not be as expected.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>
Suit:The query description has an empty condition.
Suit date:

A case awaits

Are you sure you want to accept?


Lie
Topic
Description
Marked truth and lies
Locations



Please fill in your plaintiff verdict

Lie

The query description has an empty condition." >Create verdict

You have been selected as a Judge

Suit date

Case information

Lie
Topic
Description
Marked truth and lies
Locations
Screenshot

Plaintiff verdict

Is it the Truth? %
Is it the Whole Truth? %
Is it Nothing But the Truth? %
What is the Deceit?
Is the Deceit Intended? %
What is the Motivation behind the Lie?
What is the Social Acceptability for the lie? %
What is the label for the lie needed to Improve the Social Acceptability? %

Some use of "" in your query was not closed by a matching "".<">

You have been selected as a Juror

Case information

Suit date