diff options
Diffstat (limited to 'WebContent/pages')
| -rw-r--r-- | WebContent/pages/categories.xhtml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebContent/pages/categories.xhtml b/WebContent/pages/categories.xhtml index 2e8cd0e..cb6ef27 100644 --- a/WebContent/pages/categories.xhtml +++ b/WebContent/pages/categories.xhtml @@ -43,6 +43,16 @@ <f:param name="selectedId" value="#{category.id}" /> </h:commandLink> </h:column> + <c:if test="#{UserManager.loggedIn}"> + <h:column> + <f:facet name="header"> + <h:outputText value="" /> + </f:facet> + <h:commandLink value="Edit Details ..." immediate="true" action="category"> + <f:param name="selectedId" value="#{category.id}" /> + </h:commandLink> + </h:column> + </c:if> </h:dataTable> </h:form> </ui:define> |
