<from-outcome>admin_show_contact</from-outcome>
<to-view-id>/admin/contact/admin_contact_show.xhtml</to-view-id>
</navigation-case>
+ <navigation-case>
+ <from-outcome>admin_edit_contact</from-outcome>
+ <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>admin_delete_contact</from-outcome>
+ <to-view-id>/admin/contact/admin_contact_delete.xhtml</to-view-id>
+ </navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/admin/contact/admin_contact_edit.xhtml</from-view-id>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
+
+ <ui:fragment rendered="#{empty rendered or rendered}">
+ <ul class="navbar-mini">
+ <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
+ <li class="navlink-mini">
+ <h:link outcome="admin_show_contact" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}">
+ <f:param name="contactId" value="#{contact.contactId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
+
+ <li class="navlink-mini">
+ <h:link outcome="admin_edit_contact" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_USER_TITLE}">
+ <f:param name="contactId" value="#{contact.contactId}" />
+ </h:link>
+ </li>
+
+ <li class="navlink-mini">
+ <h:link outcome="admin_delete_contact">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_CONTACT_TITLE}" />
+ <f:param name="contactId" value="#{contact.contactId}" />
+ </h:link>
+ </li>
+ </ul>
+ </ui:fragment>
+</ui:composition>
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
- <ul class="navbar-mini">
- <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
+ <ui:fragment rendered="#{empty rendered or rendered}">
+ <ul class="navbar-mini">
+ <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
+ <li class="navlink-mini">
+ <h:link outcome="admin_show_fax" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_FAX_NUMBER_TITLE}">
+ <f:param name="phoneId" value="#{faxNumber.phoneId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
+
<li class="navlink-mini">
- <h:link outcome="admin_show_fax" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_FAX_NUMBER_TITLE}">
+ <h:link outcome="admin_edit_fax" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_FAX_NUMBER_TITLE}">
<f:param name="phoneId" value="#{faxNumber.phoneId}" />
</h:link>
</li>
- </ui:fragment>
- <li class="navlink-mini">
- <h:link outcome="admin_edit_fax" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_FAX_NUMBER_TITLE}">
- <f:param name="phoneId" value="#{faxNumber.phoneId}" />
- </h:link>
- </li>
+ <ui:fragment rendered="#{not empty contact}">
+ <li class="navlink-mini">
+ <h:link outcome="admin_unlink_contact_fax">
+ <h:outputText styleClass="link-warning" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_FAX_NUMBER_CONTACT_TITLE}" />
+ <f:param name="phoneId" value="#{faxNumber.phoneId}" />
+ <f:param name="contactId" value="#{contact.contactId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
- <ui:fragment rendered="#{not empty contact}">
<li class="navlink-mini">
- <h:link outcome="admin_unlink_contact_fax">
- <h:outputText styleClass="link-warning" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_FAX_NUMBER_CONTACT_TITLE}" />
+ <h:link outcome="admin_delete_fax">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_FAX_NUMBER_TITLE}" />
<f:param name="phoneId" value="#{faxNumber.phoneId}" />
- <f:param name="contactId" value="#{contact.contactId}" />
</h:link>
</li>
- </ui:fragment>
-
- <li class="navlink-mini">
- <h:link outcome="admin_delete_fax">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_FAX_NUMBER_TITLE}" />
- <f:param name="phoneId" value="#{faxNumber.phoneId}" />
- </h:link>
- </li>
- </ul>
+ </ul>
+ </ui:fragment>
</ui:composition>
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
- <ui:fragment rendered="#{not empty landLineNumber}">
+ <ui:fragment rendered="#{empty rendered or rendered}">
<ul class="navbar-mini">
<ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
<li class="navlink-mini">
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
- <ul class="navbar-mini">
- <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
+ <ui:fragment rendered="#{empty rendered or rendered}">
+ <ul class="navbar-mini">
+ <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
+ <li class="navlink-mini">
+ <h:link outcome="admin_show_mobile" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_MOBILE_NUMBER_TITLE}">
+ <f:param name="phoneId" value="#{mobileNumber.phoneId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
+
<li class="navlink-mini">
- <h:link outcome="admin_show_mobile" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_MOBILE_NUMBER_TITLE}">
+ <h:link outcome="admin_edit_mobile" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_MOBILE_NUMBER_TITLE}">
<f:param name="phoneId" value="#{mobileNumber.phoneId}" />
</h:link>
</li>
- </ui:fragment>
- <li class="navlink-mini">
- <h:link outcome="admin_edit_mobile" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_MOBILE_NUMBER_TITLE}">
- <f:param name="phoneId" value="#{mobileNumber.phoneId}" />
- </h:link>
- </li>
+ <ui:fragment rendered="#{not empty contact}">
+ <li class="navlink-mini">
+ <h:link outcome="admin_unlink_contact_mobile">
+ <h:outputText styleClass="link-warning" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_MOBILE_NUMBER_CONTACT_TITLE}" />
+ <f:param name="phoneId" value="#{mobileNumber.phoneId}" />
+ <f:param name="contactId" value="#{contact.contactId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
- <ui:fragment rendered="#{not empty contact}">
<li class="navlink-mini">
- <h:link outcome="admin_unlink_contact_mobile">
- <h:outputText styleClass="link-warning" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_MOBILE_NUMBER_CONTACT_TITLE}" />
+ <h:link outcome="admin_delete_mobile">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_MOBILE_NUMBER_TITLE}" />
<f:param name="phoneId" value="#{mobileNumber.phoneId}" />
- <f:param name="contactId" value="#{contact.contactId}" />
</h:link>
</li>
- </ui:fragment>
-
- <li class="navlink-mini">
- <h:link outcome="admin_delete_mobile">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_MOBILE_NUMBER_TITLE}" />
- <f:param name="phoneId" value="#{mobileNumber.phoneId}" />
- </h:link>
- </li>
- </ul>
+ </ul>
+ </ui:fragment>
</ui:composition>
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
- <ul class="navbar-mini">
- <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
+ <ui:fragment rendered="#{empty rendered or rendered}">
+ <ul class="navbar-mini">
+ <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
+ <li class="navlink-mini">
+ <h:link outcome="admin_show_mobile" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_MOBILE_NUMBER_TITLE}">
+ <f:param name="providerId" value="#{mobileProvider.providerId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
+
<li class="navlink-mini">
- <h:link outcome="admin_show_mobile" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_MOBILE_NUMBER_TITLE}">
+ <h:link outcome="admin_edit_mobile" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_MOBILE_NUMBER_TITLE}">
<f:param name="providerId" value="#{mobileProvider.providerId}" />
</h:link>
</li>
- </ui:fragment>
-
- <li class="navlink-mini">
- <h:link outcome="admin_edit_mobile" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_MOBILE_NUMBER_TITLE}">
- <f:param name="providerId" value="#{mobileProvider.providerId}" />
- </h:link>
- </li>
- <li class="navlink-mini">
- <h:link outcome="admin_delete_mobile">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_MOBILE_NUMBER_TITLE}" />
- <f:param name="providerId" value="#{mobileProvider.providerId}" />
- </h:link>
- </li>
- </ul>
+ <li class="navlink-mini">
+ <h:link outcome="admin_delete_mobile">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_MOBILE_NUMBER_TITLE}" />
+ <f:param name="providerId" value="#{mobileProvider.providerId}" />
+ </h:link>
+ </li>
+ </ul>
+ </ui:fragment>
</ui:composition>
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
- <h:panelGroup styleClass="table" layout="block">
- <h:panelGroup styleClass="table-header" layout="block" rendered="#{not empty renderHeader and renderHeader}">
- <h:outputText value="#{msg.ADMIN_LINKS_HEADER}" />
- </h:panelGroup>
-
- <h:panelGroup styleClass="table-row" layout="block">
- <ul>
- <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
- <li>
- <h:link outcome="admin_show_user" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}">
- <f:param name="userId" value="#{user.userId}" />
- </h:link>
- </li>
- </ui:fragment>
-
- <li>
- <h:link outcome="admin_edit_user" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_USER_TITLE}">
+ <ui:fragment rendered="#{empty rendered or rendered}">
+ <ul class="navbar-mini">
+ <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
+ <li class="navlink-mini">
+ <h:link outcome="admin_show_user" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}">
<f:param name="userId" value="#{user.userId}" />
</h:link>
</li>
+ </ui:fragment>
- <li>
- <h:link outcome="admin_resend_user_confirm_link" value="#{msg.ADMIN_LINK_RESEND_CONFIRMATION_SHORT}" title="#{msg.ADMIN_LINK_RESEND_USER_CONFIRMATION_LINK_TITLE}" rendered="#{user.userAccountStatus == 'UNCONFIRMED'}">
- <f:param name="userId" value="#{user.userId}" />
- </h:link>
+ <li class="navlink-mini">
+ <h:link outcome="admin_edit_user" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_USER_TITLE}">
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
+ </li>
- <h:link outcome="admin_unlock_user" value="#{msg.ADMIN_LINK_UNLOCK_SHORT}" title="#{msg.ADMIN_LINK_UNLOCK_USER_TITLE}" rendered="#{user.userAccountStatus == 'LOCKED'}">
- <f:param name="userId" value="#{user.userId}" />
- </h:link>
+ <li class="navlink-mini">
+ <h:link outcome="admin_resend_user_confirm_link" value="#{msg.ADMIN_LINK_RESEND_CONFIRMATION_SHORT}" title="#{msg.ADMIN_LINK_RESEND_USER_CONFIRMATION_LINK_TITLE}" rendered="#{user.userAccountStatus == 'UNCONFIRMED'}">
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
- <h:link outcome="admin_lock_user">
- <h:outputText styleClass="link-warning" value="#{msg.ADMIN_LINK_LOCK_SHORT}" title="#{msg.ADMIN_LINK_LOCK_USER_TITLE}" rendered="#{user.userAccountStatus == 'CONFIRMED'}" />
- <f:param name="userId" value="#{user.userId}" />
- </h:link>
- </li>
+ <h:link outcome="admin_unlock_user" value="#{msg.ADMIN_LINK_UNLOCK_SHORT}" title="#{msg.ADMIN_LINK_UNLOCK_USER_TITLE}" rendered="#{user.userAccountStatus == 'LOCKED'}">
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
- <li>
- <h:link outcome="admin_delete_user" title="#{msg.ADMIN_LINK_DELETE_SHORT}">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_USER}" />
- <f:param name="userId" value="#{user.userId}" />
- </h:link>
- </li>
- </ul>
- </h:panelGroup>
- </h:panelGroup>
+ <h:link outcome="admin_lock_user">
+ <h:outputText styleClass="link-warning" value="#{msg.ADMIN_LINK_LOCK_SHORT}" title="#{msg.ADMIN_LINK_LOCK_USER_TITLE}" rendered="#{user.userAccountStatus == 'CONFIRMED'}" />
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
+ </li>
+
+ <li class="navlink-mini">
+ <h:link outcome="admin_delete_user">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_USER_TITLE}" />
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
+ </li>
+ </ul>
+ </ui:fragment>
</ui:composition>
</li>
<li>
- <h:link outcome="admin_delete_user" title="#{msg.ADMIN_LINK_DELETE_USER_TITLE}">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_USER}" />
+ <h:link outcome="admin_delete_user">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_USER}" title="#{msg.ADMIN_LINK_DELETE_USER_TITLE}" />
<f:param name="userId" value="#{user.userId}" />
</h:link>
</li>