Skip to content

Commit

Permalink
Item9790: Create template for UnprocessedRegistrations
Browse files Browse the repository at this point in the history
Generate the user input table by getting the fields from the
NewUserTemplate. Make this selectable, so that Bulk Registration can be
customized for multiple registration types.
  • Loading branch information
gac410 committed Mar 1, 2016
1 parent f2302fa commit c298a40
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
@@ -0,0 +1,13 @@
%META:TOPICINFO{author="ProjectContributor" date="1456871285" format="1.1" version="1"}%
%META:TOPICPARENT{name="WikiUsers"}%
---+ <nop>%TOPIC%

<noautolink>
%EDITTABLE{ headerrows="1" }%%STARTSECTION{type="expandvariables"}%
| *WikiName* |%IF{"{Register}{AllowLoginName}" then=" *LoginName* |"}% *Email* | *Password* | *AddToGroups* |\
*%CALCULATE{"$LISTJOIN(* | *, $LISTIF($NOT($EXACT($item,Email)),%QUERY{"'%URLPARAM{"usertemplate" default="%SYSTEMWEB%.NewUserTemplate"}%'/fields.name"}%))"}%* |
%ENDSECTION%
</noautolink>

%META:PREFERENCE{name="ALLOWTOPICVIEW" title="ALLOWTOPICVIEW" type="Set" value="AdminGroup"}%
%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="System.BulkRegistrationInputView"}%
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1456797140" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1456871285" format="1.1" version="1"}%
%META:TOPICPARENT{name="BulkRegister"}%
%{<verbatim class="tml">
===================================================
Expand Down Expand Up @@ -30,7 +30,7 @@ Overwrite home topics? <input type='checkbox' class='foswikiInputField' name='Ov
else="<div class='foswikiAlert'> *Bulk registration is restricted to Administrators.* </div>"}%

%TEXT%
%INCLUDE{"%TOPIC%Log"}%
%INCLUDE{"%TOPIC%Log" warn="off"}%

*Back to:* [[%SYSTEMWEB%.BulkRegistration][Bulk Registration]]
----
Expand Down
Expand Up @@ -12,6 +12,7 @@ data/Main/UserListByDateJoined.txt 0644
data/Main/UserListByLocation.txt 0644
data/Main/UserListHeader.txt 0644
data/System/BulkRegistration.txt 0644
data/System/BulkRegistrationInputTemplate.txt 0644
data/System/BulkRegistrationInputViewTemplate.txt 0644
data/System/BulkResetPassword.txt 0644
data/System/ChangeEmailAddress.txt 0644
Expand Down

0 comments on commit c298a40

Please sign in to comment.