[jboss-cvs] jboss-seam/examples/wiki/view/plugins/forumPosting ...
Christian Bauer
christian at hibernate.org
Wed Dec 19 08:33:37 EST 2007
User: cbauer
Date: 07/12/19 08:33:37
Modified: examples/wiki/view/plugins/forumPosting
forumPostingHeader.xhtml
Log:
JBSEAM-2406 - Hide e-mail address if user is not logged in (configurable)
Revision Changes Path
1.2 +6 -4 jboss-seam/examples/wiki/view/plugins/forumPosting/forumPostingHeader.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: forumPostingHeader.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/forumPosting/forumPostingHeader.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- forumPostingHeader.xhtml 19 Dec 2007 04:29:30 -0000 1.1
+++ forumPostingHeader.xhtml 19 Dec 2007 13:33:37 -0000 1.2
@@ -79,10 +79,12 @@
<h:outputText value="#{currentDocument.createdBy.fullname}"/>
</s:link>
</s:span>
+ <s:fragment rendered="#{wiki:showEmailAddress()}">
<h:outputText value=" | "/>
<h:outputLink value="#{wiki:escapeEmailURL(wiki:concat('mailto:', currentDocument.createdBy.email))}">
<h:outputText value="#{wiki:escapeAtSymbol(currentDocument.createdBy.email)}"/>
</h:outputLink>
+ </s:fragment>
</s:div>
<s:div rendered="#{not currentDocument.ownedByRegularUser}">
<h:outputText value="#{currentDocument.createdBy.fullname}"/>
More information about the jboss-cvs-commits
mailing list