You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by gw...@apache.org on 2014/03/27 10:15:41 UTC
svn commit: r1582226 - in
/syncope/branches/1_1_X/core/src/main/resources/mailTemplates:
optin.html.vm optin.txt.vm
Author: gwimmel
Date: Thu Mar 27 09:15:41 2014
New Revision: 1582226
URL: http://svn.apache.org/r1582226
Log:
[SYNCOPE-487] minor fix email templates: use email address instead of username in generated link, as indicated in the text
Modified:
syncope/branches/1_1_X/core/src/main/resources/mailTemplates/optin.html.vm
syncope/branches/1_1_X/core/src/main/resources/mailTemplates/optin.txt.vm
Modified: syncope/branches/1_1_X/core/src/main/resources/mailTemplates/optin.html.vm
URL: http://svn.apache.org/viewvc/syncope/branches/1_1_X/core/src/main/resources/mailTemplates/optin.html.vm?rev=1582226&r1=1582225&r2=1582226&view=diff
==============================================================================
--- syncope/branches/1_1_X/core/src/main/resources/mailTemplates/optin.html.vm (original)
+++ syncope/branches/1_1_X/core/src/main/resources/mailTemplates/optin.html.vm Thu Mar 27 09:15:41 2014
@@ -24,7 +24,7 @@ under the License.
<p>
Your username is $user.getUsername().<br/>
Your email address is $user.getAttributeMap().get("email").getValues().get(0).
- Your email address inside a <a href="http://localhost/?email=$esc.url($user.getUsername())">link</a>.
+ Your email address inside a <a href="http://localhost/?email=$esc.url($user.getAttributeMap().get("email").getValues().get(0))">link</a>.
</p>
<p>
Modified: syncope/branches/1_1_X/core/src/main/resources/mailTemplates/optin.txt.vm
URL: http://svn.apache.org/viewvc/syncope/branches/1_1_X/core/src/main/resources/mailTemplates/optin.txt.vm?rev=1582226&r1=1582225&r2=1582226&view=diff
==============================================================================
--- syncope/branches/1_1_X/core/src/main/resources/mailTemplates/optin.txt.vm (original)
+++ syncope/branches/1_1_X/core/src/main/resources/mailTemplates/optin.txt.vm Thu Mar 27 09:15:41 2014
@@ -13,7 +13,7 @@ Hi $user.getAttributeMap().get("firstnam
Your username is $user.getUsername().
Your email address is $user.getAttributeMap().get("email").getValues().get(0).
-Your email address inside a link: http://localhost/?email=$esc.url($user.getUsername()) .
+Your email address inside a link: http://localhost/?email=$esc.url($user.getAttributeMap().get("email").getValues().get(0)) .
This message was sent to the following recipients:
#foreach($recipient in $recipients)