1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
8 <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_USER_NOT_SET}" rendered="#{empty beanHelper.user}" />
10 <h:panelGroup styleClass="table" layout="block" rendered="#{not empty beanHelper.user}">
11 <div class="table_header">
12 <h:outputText value="#{msg.ADMIN_LINKS_HEADER}" />
15 <div class="table_row">
18 <h:link outcome="admin_edit_user" value="#{msg.ADMIN_LINK_EDIT_USER}" title="#{msg.ADMIN_LINK_EDIT_USER_TITLE}">
19 <f:param name="userId" value="#{beanHelper.user.userId}" />
24 <h:link outcome="admin_edit_contact" value="#{msg.ADMIN_LINK_EDIT_CONTACT}" title="#{msg.ADMIN_LINK_EDIT_CONTACT_TITLE}">
25 <f:param name="contactId" value="#{beanHelper.user.userContact.contactId}" />
29 <ui:fragment rendered="#{beanHelper.user.userAccountStatus != 'UNCONFIRMED'}">
31 <h:link outcome="admin_unlock_user" value="#{msg.ADMIN_LINK_UNLOCK_USER}" title="#{msg.ADMIN_LINK_UNLOCK_USER_TITLE}" rendered="#{beanHelper.user.userAccountStatus == 'LOCKED'}">
32 <f:param name="userId" value="#{beanHelper.user.userId}" />
35 <h:link outcome="admin_lock_user" value="#{msg.ADMIN_LINK_LOCK_USER}" title="#{msg.ADMIN_LINK_LOCK_USER_TITLE}" rendered="#{beanHelper.user.userAccountStatus == 'CONFIRMED'}">
36 <f:param name="userId" value="#{beanHelper.user.userId}" />
42 <h:link outcome="admin_delete_user" title="#{msg.ADMIN_LINK_DELETE_USER_TITLE}">
43 <h:outputText styleClass="delete_link" value="#{msg.ADMIN_LINK_DELETE_USER}" />
44 <f:param name="userId" value="#{beanHelper.user.userId}" />