[jboss-cvs] jboss-seam/examples/wiki/view/plugins/feedTeasers ...
Christian Bauer
christian at hibernate.org
Sat Aug 25 13:59:26 EDT 2007
User: cbauer
Date: 07/08/25 13:59:26
Modified: examples/wiki/view/plugins/feedTeasers plugin.xhtml
Log:
Major refactoring of navigation
Revision Changes Path
1.6 +7 -8 jboss-seam/examples/wiki/view/plugins/feedTeasers/plugin.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: plugin.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/feedTeasers/plugin.xhtml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- plugin.xhtml 17 Aug 2007 13:00:30 -0000 1.5
+++ plugin.xhtml 25 Aug 2007 17:59:26 -0000 1.6
@@ -32,23 +32,22 @@
<f:facet name="header"><h:outputText value="#{feedTeasersPreferences.properties['teaserTitle']}"/></f:facet>
<div class="teaserAuthorDate">
- <span class="teaserDate">
+ <s:span styleClass="teaserDate">
<h:outputText value="#{fe.updatedDate}"><f:convertDateTime pattern="dd. MMM yyyy, HH:mm" timeZone="#{wikiPreferences.timeZone}"/></h:outputText>
<h:outputText value=" #{wikiPreferences.timeZone}"/>
-
- </span>
- <s:span rendered="#{feedTeasersPreferences.properties['showAuthor']}"> (
-
+ </s:span>
+ <s:span rendered="#{feedTeasersPreferences.properties['showAuthor']}">, by 
<h:outputLink value="#{wiki:renderHomeURL(fe.document.createdBy)}"
rendered="#{!empty fe.document.createdBy.memberHome}">
<h:outputText styleClass="teaserAuthorLink" value="#{fe.document.createdBy.fullname}"/>
</h:outputLink>
<h:outputText styleClass="teaserAuthor" rendered="#{empty fe.document.createdBy.memberHome}" value="#{fe.author}"/>
- )</s:span>
+ </s:span>
<br/>
<s:span rendered="#{fe.document.enableComments and wiki:sizeOf(fe.document.comments) > 0}">
- <h:outputLink styleClass="feedTeaserComments" value="#{wiki:renderPermLink(fe.document)}#commentsDisplay">
- #{wiki:sizeOf(fe.document.comments)} comment(s)
+ <h:outputLink styleClass="feedTeaserComments" value="#{wiki:renderPermLink(fe.document)}#comments">
+ #{wiki:sizeOf(fe.document.comments)} 
+ <h:outputText value="#{wiki:sizeOf(fe.document.comments)>1 ? 'comments' : 'comment'}"/>
</h:outputLink>
</s:span>
</div>
More information about the jboss-cvs-commits
mailing list