Changeset 28613
- Timestamp:
- 01/09/08 18:55:35 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
org.nuxeo.ecm.platform/branches/5.1/nuxeo-platform-forum/src/main/resources/nuxeo.war/incl/post_actions.xhtml
r20719 r28613 11 11 value="#{postAction.isPostPublished(threadEntry.comment)}"> 12 12 13 <nxu:methodResult name="canAnswer" 14 value="#{postAction.checkWritePermissionOnThread}"> 15 13 16 <h:commandLink value="#{messages['command.comments.reply']}" 14 17 action="#{commentManagerActions.beginComment}" 15 rendered="#{isPostPublished }">18 rendered="#{isPostPublished && canAnswer}"> 16 19 <f:param name="replyCommentId" value="#{threadEntry.comment.id}"/> 17 20 </h:commandLink> 18 21 19 22 </nxu:methodResult> 20 23 </nxu:methodResult> 21 24 <nxu:methodResult name="isPrincipalModerator" 22 25 value="#{threadAction.isPrincipalModerator()}"> org.nuxeo.ecm.platform/branches/5.1/nuxeo-platform-forum/src/main/resources/nuxeo.war/incl/tabs/document_thread.xhtml
r26753 r28613 76 76 rendered="#{allPosts.size > 0 and !commentManagerActions.commentStarted}" 77 77 layout="block"> 78 <nxu:methodResult name="canAnswer" 79 value="#{postAction.checkWritePermissionOnThread}"> 78 80 <h:commandButton value="#{messages['command.add']}" 79 action="#{commentManagerActions.beginComment}" styleClass="button"/> 81 action="#{commentManagerActions.beginComment}" styleClass="button" rendered="#{canAnswer}"/> 82 </nxu:methodResult> 80 83 </h:panelGroup> 81 84
