Skip to content

Commit

Permalink
PC-77: Improvements to sign up & review process. Second round of fixe…
Browse files Browse the repository at this point in the history
…s to comments.
  • Loading branch information
antonkatz committed Nov 19, 2015
1 parent 0c0d1b6 commit 7308371
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ui/src/main/resources/XWiki/AccountRejectionTemplate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ${platformName} Support Team</p>
<language/>
</property>
<property>
<subject>PhenomeCentral account status</subject>
<subject>${platformName} account status</subject>
</property>
<property>
<text>Dear ${userRealName},
Expand Down
11 changes: 4 additions & 7 deletions ui/src/main/resources/XWiki/ManualAccountValidation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,12 @@
#set ($emailStatus = 0)
#end

#if ("$!{request.action}" == 'accept')
$user.set('active', 1)
#elseif("$!{request.action}" == 'reject')
$userDoc.delete()
#end

#if ($emailStatus == 0)
#if ("$!{request.action}" == 'accept')
$user.set('active', 1)
$userDoc.save()
#elseif("$!{request.action}" == 'reject')
$userDoc.delete()
#end
true
#else
Expand Down Expand Up @@ -188,7 +185,7 @@ ${platformName} Team&lt;/p&gt;
<language/>
</property>
<property>
<subject>Your account at PhenomeCentral has been approved</subject>
<subject>Your account at ${platformName} has been approved</subject>
</property>
<property>
<text>Dear ${userRealName},
Expand Down

0 comments on commit 7308371

Please sign in to comment.