Difference between revisions of "Template:Register user"

From Dashboard samenwerking Wijchen
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
<div class="col-md-3">{{{Email|}}}</div>
 
<div class="col-md-3">{{{Email|}}}</div>
 
<div class="col-md-3">{{#switch: {{#ask: [[User:{{#var:username}}]] [[Modification date::+]] |format=count}}
 
<div class="col-md-3">{{#switch: {{#ask: [[User:{{#var:username}}]] [[Modification date::+]] |format=count}}
   |0=User:{{#var:username}} {{#autoedit: form=User |target=User:{{#var:username}} |link text={{Fa|plus}} pagina |User[First name]={{{First name}}} |User[Last name]={{{Last name}}} |User[Email address]={{{Email|}}} |User[Organization]={{#var:@gemeente}} }}
+
   |0=''User:{{#var:username}}'' {{#ifingroup:wsadmin|{{#autoedit: form=User |target=User:{{#var:username}} |link text={{Fa|plus}} pagina ({{Fa|lock}}) |User[First name]={{{First name}}} |User[Last name]={{{Last name}}} |User[Email address]={{{Email|}}} |User[Organization]={{#var:@gemeente}} }} }}
 
   |#default=[[User:{{#var:username}}|{{Fa|check fa-fw}} Persoonlijke pagina is aangemaakt]]
 
   |#default=[[User:{{#var:username}}|{{Fa|check fa-fw}} Persoonlijke pagina is aangemaakt]]
 
}}<!--
 
}}<!--
   -->{{#if:{{{Temporary password|}}}|<br>ww: ja|ww: nee}}</div>
+
   -->{{#ifingroup:wsadmin|<div class="text-muted">{{#if:{{{Temporary password|}}}|ww: ja|ww: nee}}</div>}}</div>
<div class="col-md-3">{{Invite new user
+
<div class="col-md-3">{{#switch: {{#ask: [[User:{{#var:username}}]] [[Modification date::+]] |format=count}}
 +
  |0=
 +
  |#default={{Invite new user
 
|To={{{Email|}}}
 
|To={{{Email|}}}
 
|BCC=
 
|BCC=
Line 19: Line 21:
 
|Username={{#var:username}}
 
|Username={{#var:username}}
 
|Temporary password={{{Temporary password|}}}
 
|Temporary password={{{Temporary password|}}}
}}</div>
+
}}}}</div>
 
</div><div style="border-bottom:1px solid;"></div>}}</includeonly>
 
</div><div style="border-bottom:1px solid;"></div>}}</includeonly>

Latest revision as of 09:49, 28 July 2017