1 May 20:16
visual cleanup patch to document_view.xhtml
From: Michael Santy <michael.santy@...>
Subject: visual cleanup patch to document_view.xhtml
Newsgroups: gmane.comp.cms.nuxeo.general
Date: 2008-05-01 18:20:25 GMT
Subject: visual cleanup patch to document_view.xhtml
Newsgroups: gmane.comp.cms.nuxeo.general
Date: 2008-05-01 18:20:25 GMT
Hello, When customizing nuxeo I noticed that the "Restore" button for a deleted document seems to be out of place. I've modified the document_view.xhtml to place this button by the lifecycle information, and will show up when the document is deleted (as before). The attached diff against nuxeo 5.1.4 modifies the placement of the restore button and eliminates the need for the file trash_details.xhtml. Is there any interest in incorporating these type of patches into the nuxeo distribution? If so, I've also been thinking of a visual cleanup of the lock_details.xhtml. Cheers, Mike Santy
22,25d21
< <h:panelGrid rendered="#{deleteActions.trashManagementEnabled}">
< <ui:include src="/incl/trash_details.xhtml" />
< </h:panelGrid>
<
118a115,120
> <c:if test="#{deleteActions.trashManagementEnabled}">
> <h:outputText/>
> <h:commandButton type="submit" value="#{messages['command.undeleteDocs']}"
> styleClass="button" action="#{deleteActions.restoreCurrentDocument}"
> rendered="#{deleteActions.canRestoreCurrentDoc}" />
> </c:if>
(Continue reading)
RSS Feed