You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/03/25 07:21:11 UTC
[syncope] branch master updated: Fix notification template sample
for >= 2.1.0
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new ea2c60c Fix notification template sample for >= 2.1.0
ea2c60c is described below
commit ea2c60c973c485ceef19b956b70f4e989c0253c2
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon Mar 25 08:20:52 2019 +0100
Fix notification template sample for >= 2.1.0
---
src/main/asciidoc/reference-guide/concepts/notifications.adoc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/asciidoc/reference-guide/concepts/notifications.adoc b/src/main/asciidoc/reference-guide/concepts/notifications.adoc
index 65350a6..3051696 100644
--- a/src/main/asciidoc/reference-guide/concepts/notifications.adoc
+++ b/src/main/asciidoc/reference-guide/concepts/notifications.adoc
@@ -125,11 +125,11 @@ with actual value matching the _about_ condition as introduced above, can be use
====
[source]
----
-Hi ${user.getPlainAttr("firstname").values[0]} ${user.getPlainAttr("surname").values[0]},
+Hi ${user.getPlainAttr("firstname").get().values[0]} ${user.getPlainAttr("surname").get().values[0]},
welcome to Syncope!
Your username is ${user.username}.
-Your email address is ${user.getPlainAttr("email").values[0]}.
+Your email address is ${user.getPlainAttr("email").get().values[0]}.
Best regards.
----
@@ -141,10 +141,10 @@ Best regards.
----
<html>
<body>
- <h3>Hi ${user.getPlainAttr("firstname").values[0]} ${user.getPlainAttr("surname").values[0]},
+ <h3>Hi ${user.getPlainAttr("firstname").get().values[0]} ${user.getPlainAttr("surname").get().values[0]},
welcome to Syncope!</h3>
<p>Your username is ${user.username}.<br/>
- Your email address is ${user.getPlainAttr("email").values[0]}.</p>
+ Your email address is ${user.getPlainAttr("email").get().values[0]}.</p>
<p>Best regards.</p>
</body>
</html>