Difference between revisions of "Prosecute a case"

From cm2.liecourt.com
(Fill database)
(Fill database)
Line 114: Line 114:
 
textarea{
 
textarea{
 
   min-height:200px;
 
   min-height:200px;
 +
}
 +
[contentEditable=true]:empty:not(:focus):before{
 +
  content:attr(data-placeholder);
 +
  color:grey;
 
}
 
}
 
</style>}}
 
</style>}}
Line 128: Line 132:
 
{{#ifexpr:{{#var:@balance}} > 0|
 
{{#ifexpr:{{#var:@balance}} > 0|
  
<wsform action="addToWiki" id="case-form" enctype="multipart/form-data" mwreturn="{{fullurl:User:{{CURRENTLOGGEDUSER}} }}">
+
<wsform action="addToWiki" id="case-form" enctype="multipart/form-data" mwreturn="{{fullurl:User:{{CURRENTLOGGEDUSER}}|msg=casestarted}}">
 
<wscreate mwwrite="Workflow/" mwtemplate="Workflow" mwoption="range:00001-99999" />
 
<wscreate mwwrite="Workflow/" mwtemplate="Workflow" mwoption="range:00001-99999" />
 
<wsfield type="hidden" name="Plaintiff verdict"  value="No" />
 
<wsfield type="hidden" name="Plaintiff verdict"  value="No" />
 
<wsfield type="hidden" name="Stage"  value="Waiting for Plaintiff verdict" />
 
<wsfield type="hidden" name="Stage"  value="Waiting for Plaintiff verdict" />
<wsfield type="hidden" name="Filed by"  value="User:{{CURRENTLOGGEDUSER}}" />
+
<wsfield type="hidden" name="Filed by"  value="User:{{CURRENTLOGGEDUSER}}" /><!--
<wsfield type="hidden" name="Case ID" value="1234-{{#time: U | now}}-{{#time: U | now}}" />
+
-->{{#vardefine:@id|1234-{{#time: U | now}}-{{#time: U | now}} }}
 +
<wsfield type="hidden" name="Case ID" value="{{#var:@id}}" />
  
  
Line 171: Line 176:
 
|1=<h3>Evidence of lie appearance</h3>  
 
|1=<h3>Evidence of lie appearance</h3>  
 
|2=<div class="d-flex">{{#vardefine:@filename|Import-cse-{{#time: U | now}}.png}}
 
|2=<div class="d-flex">{{#vardefine:@filename|Import-cse-{{#time: U | now}}.png}}
{{#vardefine:@pagecontent|<nowiki>{{File for case|Case file=</nowiki>1234-132525-767967-3865381265853<nowiki>|Uploaded by=</nowiki>{{CURRENTLOGGEDUSER}}<nowiki>}}</nowiki>}}
+
{{#vardefine:@pagecontent|<nowiki>{{File for case|Case file=</nowiki>{{#var:@id}}<nowiki>|Uploaded by=</nowiki>{{CURRENTLOGGEDUSER}}<nowiki>}}</nowiki>}}
 
<wslabel for="file-upload" class="attachment">{{fa|paperclip}}
 
<wslabel for="file-upload" class="attachment">{{fa|paperclip}}
 
<wsfield class="d-none" type="file" name="File" id="file-upload" verbose_id="hiddendiv" target="{{#var:@filename}}" pagecontent="{{#var:@pagecontent}}" /></wslabel>
 
<wsfield class="d-none" type="file" name="File" id="file-upload" verbose_id="hiddendiv" target="{{#var:@filename}}" pagecontent="{{#var:@pagecontent}}" /></wslabel>

Revision as of 14:45, 15 May 2020


Prosecute a case

Expression error: Unexpected < operator.