ADMIN_SHOW_MOBILE_NUMBER_COMPLETE=Komplette Nummer:
ADMIN_SHOW_ADMINISTRATIVE_LINKS=Administrative Links:
ADMIN_LINK_SHOW_SHORT=Anzeigen
-ADMIN_LINK_SHOW_SHORT_TITLE=Eintrag einzelnt anzeigen.
ADMIN_LINK_EDIT_SHORT=Editieren
-ADMIN_LINK_EDIT_SHORT_TITLE=Eintrag editieren.
ADMIN_LINK_DELETE_SHORT=L\u00f6schen
-ADMIN_LINK_DELETE_SHORT_TITLE=Eintrag l\u00f6schen.
ADMIN_LINK_UNLINK_SHORT=Abtrennen
-ADMIN_LINK_UNLINK_SHORT_TITLE=Entfernt Verkn\u00fcpfung zum Eintrag.
PAGE_TITLE_ADMIN_DELETE_MOBILE_NUMBER=Mobiletelefoneintrag l\u00f6schen
CONTENT_TITLE_ADMIN_DELETE_MOBILE_NUMBER=Mobiletelefoneintrag l\u00f6schen:
PAGE_TITLE_ADMIN_EDIT_MOBILE_NUMBER=Mobiletelefoneintrag editieren
#@TODO Please fix German umlauts!
ADMIN_LINK_DELETE_BASIC_COMAPNY_DATA_TITLE=Loescht Grunddaten des Unternehmens.
ADMIN_ACTION_LINKS=Aktionen:
+ADMIN_LINK_RESEND_CONFIRMATION_SHORT=Erneut
+ADMIN_LINK_UNLOCK_SHORT=Entsperren
+ADMIN_LINK_LOCK_SHORT=Sperren
ADMIN_SHOW_MOBILE_NUMBER_COMPLETE=Complete number:
ADMIN_SHOW_ADMINISTRATIVE_LINKS=Administrative links:
ADMIN_LINK_SHOW_SHORT=Show
-ADMIN_LINK_SHOW_SHORT_TITLE=Show single entry.
ADMIN_LINK_EDIT_SHORT=Edit
-ADMIN_LINK_EDIT_SHORT_TITLE=Edit entry.
ADMIN_LINK_DELETE_SHORT=Delete
-ADMIN_LINK_DELETE_SHORT_TITLE=Delete entry.
ADMIN_LINK_UNLINK_SHORT=Unlink
-ADMIN_LINK_UNLINK_SHORT_TITLE=Removes link to entry.
PAGE_TITLE_ADMIN_DELETE_MOBILE_NUMBER=Delete mobile entry
CONTENT_TITLE_ADMIN_DELETE_MOBILE_NUMBER=Delete mobile entry:
PAGE_TITLE_ADMIN_EDIT_MOBILE_NUMBER=Edit mobile entry
ADMIN_LINK_EDIT_BASIC_COMAPNY_DATA_TITLE=Edit of basic data of company.
ADMIN_LINK_DELETE_BASIC_COMAPNY_DATA_TITLE=Deletes basic data of company.
ADMIN_ACTION_LINKS=Actions:
+ADMIN_LINK_RESEND_CONFIRMATION_SHORT=Resend
+ADMIN_LINK_UNLOCK_SHORT=Unlock
+ADMIN_LINK_LOCK_SHORT=Lock
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (C) 2017 Roland Häder
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero General Public License as
+published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+-->
+<facelet-taglib version="2.2"
+ xmlns="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_2_2.xsd">
+ <namespace>http://mxchange.org/jsf/core/links</namespace>
+ <tag>
+ <tag-name>outputUserProfileLink</tag-name>
+ <description>This tag renders a h:link JSF tag for a user profile.</description>
+ <source>resources/tags/profile/user/user_profile_link.tpl</source>
+ <attribute>
+ <name>user</name>
+ <description>An instance of a User class.</description>
+ <required>true</required>
+ <type>org.mxchange.jusercore.model.user.User</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+ <tag>
+ <tag-name>outputFaxNumberAdminMiniLinks</tag-name>
+ <description>This tag renders a full h:panelGroup for administrative "mini-links" for fax data.</description>
+ <source>resources/tags/admin/links/mini/fax/admin_fax_links.tpl</source>
+ <attribute>
+ <name>faxNumber</name>
+ <description>The fax instance that provides the data for this tag.</description>
+ <required>true</required>
+ <type>org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber</type>
+ </attribute>
+ <attribute>
+ <name>contact</name>
+ <description>The contact instance that provides contact data for additional JSF links.</description>
+ <required>false</required>
+ <type>org.mxchange.jcontacts.model.contact.Contact</type>
+ </attribute>
+ <attribute>
+ <name>renderShowLink</name>
+ <description>Whether this tag is used to show mobile data (default true).</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+ <tag>
+ <tag-name>outputLandLineNumberAdminMiniLinks</tag-name>
+ <description>This tag renders a full h:panelGroup for administrative "mini-links" for land-line data.</description>
+ <source>resources/tags/admin/links/mini/landline/admin_landline_links.tpl</source>
+ <attribute>
+ <name>landLineNumber</name>
+ <description>The fax instance that provides the data for this tag.</description>
+ <required>true</required>
+ <type>org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber</type>
+ </attribute>
+ <attribute>
+ <name>contact</name>
+ <description>The contact instance that provides contact data for additional JSF links.</description>
+ <required>false</required>
+ <type>org.mxchange.jcontacts.model.contact.Contact</type>
+ </attribute>
+ <attribute>
+ <name>renderShowLink</name>
+ <description>Whether this tag is used to show mobile data (default true).</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+ <tag>
+ <tag-name>outputMobileNumberAdminMiniLinks</tag-name>
+ <description>This tag renders a full h:panelGroup for administrative "mini-links" for mobile data.</description>
+ <source>resources/tags/admin/links/mini/mobile/admin_mobile_links.tpl</source>
+ <attribute>
+ <name>mobileNumber</name>
+ <description>The mobile number instance that provides the data for this tag.</description>
+ <required>true</required>
+ <type>org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber</type>
+ </attribute>
+ <attribute>
+ <name>contact</name>
+ <description>The contact instance that provides contact data for additional JSF links.</description>
+ <required>false</required>
+ <type>org.mxchange.jcontacts.model.contact.Contact</type>
+ </attribute>
+ <attribute>
+ <name>renderShowLink</name>
+ <description>Whether this tag is used to show mobile data (default true).</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+ <tag>
+ <tag-name>outputMobileProviderAdminMiniLinks</tag-name>
+ <description>This tag renders a full h:panelGroup for administrative "mini-links" for mobile provider data.</description>
+ <source>resources/tags/admin/links/mini/mobile_provider/admin_mobile_provider_links.tpl</source>
+ <attribute>
+ <name>mobileProvider</name>
+ <description>The mobile provider instance that provides the data for this tag.</description>
+ <required>true</required>
+ <type>org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProvider</type>
+ </attribute>
+ <attribute>
+ <name>renderShowLink</name>
+ <description>Whether this tag is used to show mobile data (default true).</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+ <tag>
+ <tag-name>outputBasicDataAdminMiniLinks</tag-name>
+ <description>This tag renders administrative "mini-links" for given basicData instance.</description>
+ <source>resources/tags/admin/links/mini/basic_data/admin_basic_data_links.tpl</source>
+ <attribute>
+ <name>basicData</name>
+ <description>The basic company data for this tag.</description>
+ <required>true</required>
+ <type>org.mxchange.jcontactsbusiness.model.basicdata.BusinessBasicData</type>
+ </attribute>
+ <attribute>
+ <name>renderShowLink</name>
+ <description>Whether to render (default: true) "show basic data" link.</description>
+ <required>false</required>
+ <type>java.langBoolean</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+ <tag>
+ <tag-name>outputBranchOfficeAdminMiniLinks</tag-name>
+ <description>This tag renders administrative "mini-links" for given branchOffice instance.</description>
+ <source>resources/tags/admin/links/mini/branch_office/admin_branch_office_links.tpl</source>
+ <attribute>
+ <name>branchOffice</name>
+ <description>The branch office instance that provides the data for this tag.</description>
+ <required>true</required>
+ <type>org.mxchange.jcontactsbusiness.model.branchoffice.BranchOffice</type>
+ </attribute>
+ <attribute>
+ <name>renderShowLink</name>
+ <description>Whether to render (default: true) "show branch office" link.</description>
+ <required>false</required>
+ <type>java.langBoolean</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+ <tag>
+ <tag-name>outputContactAdminMiniLinks</tag-name>
+ <description>This tag renders administrative "mini-links" for given contact instance.</description>
+ <source>resources/tags/admin/links/mini/contact/admin_contact_links.tpl</source>
+ <attribute>
+ <name>contact</name>
+ <description>The contact instance that provides the data for this tag.</description>
+ <required>true</required>
+ <type>org.mxchange.jcontacts.model.contact.Contact</type>
+ </attribute>
+ <attribute>
+ <name>renderShowLink</name>
+ <description>Whether to render (default: true) "show contact" link.</description>
+ <required>false</required>
+ <type>java.langBoolean</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+ <tag>
+ <tag-name>outputCountryAdminMiniLinks</tag-name>
+ <description>This tag renders administrative "mini-links" for given country instance.</description>
+ <source>resources/tags/admin/links/mini/country/admin_country_links.tpl</source>
+ <attribute>
+ <name>country</name>
+ <description>The country instance that provides the data for this tag.</description>
+ <required>true</required>
+ <type>org.mxchange.jcountry.model.data.Country</type>
+ </attribute>
+ <attribute>
+ <name>renderShowLink</name>
+ <description>Whether to render (default: true) "show branch office" link.</description>
+ <required>false</required>
+ <type>java.langBoolean</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+ <tag>
+ <tag-name>outputUserAdminMiniLinks</tag-name>
+ <description>This tag renders administrative "mini-links" for given user instance.</description>
+ <source>resources/tags/admin/links/mini/user/admin_user_links.tpl</source>
+ <attribute>
+ <name>user</name>
+ <description>The user instance that provides the data for this tag.</description>
+ <required>true</required>
+ <type>org.mxchange.jusercore.model.user.User</type>
+ </attribute>
+ <attribute>
+ <name>renderShowLink</name>
+ <description>Whether to render (default: true) "show user" link.</description>
+ <required>false</required>
+ <type>java.langBoolean</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+ <tag>
+ <tag-name>outputUserAdminLinks</tag-name>
+ <description>This tag renders administrative links for given user instance.</description>
+ <source>resources/tags/admin/links/user/admin_user_links.tpl</source>
+ <attribute>
+ <name>user</name>
+ <description>The user instance that provides the data for this tag.</description>
+ <required>true</required>
+ <type>org.mxchange.jusercore.model.user.User</type>
+ </attribute>
+ <attribute>
+ <name>renderShowLink</name>
+ <description>Whether to render (default: true) "show user" link.</description>
+ <required>false</required>
+ <type>java.langBoolean</type>
+ </attribute>
+ <attribute>
+ <name>renderContactLinks</name>
+ <description>Whether to render (default: false) contact links.</description>
+ <required>false</required>
+ <type>java.langBoolean</type>
+ </attribute>
+ <attribute>
+ <name>renderHeader</name>
+ <description>Whether to render (default: false) table header.</description>
+ <required>false</required>
+ <type>java.langBoolean</type>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <description>Whether this tag is being rendered by JSF engine.</description>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ </tag>
+</facelet-taglib>
+++ /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_basic_data" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMAPNY_DATA_TITLE}">
- <f:param name="basicDataId" value="#{basicData.basicDataId}" />
- </h:link>
- </li>
- </ui:fragment>
-
- <li class="navlink-mini">
- <h:link outcome="admin_edit_basic_data" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_BASIC_COMAPNY_DATA_TITLE}">
- <f:param name="basicDataId" value="#{basicData.basicDataId}" />
- </h:link>
- </li>
-
- <li class="navlink-mini">
- <h:link outcome="admin_delete_basic_data">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_BASIC_COMAPNY_DATA_TITLE}" />
- <f:param name="basicDataId" value="#{basicData.basicDataId}" />
- </h:link>
- </li>
- </ul>
- </ui:fragment>
-</ui:composition>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:widgets="http://mxchange.org/jsf/core/widgets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
-
- <ul class="navbar-mini">
- <ui:fragment rendered="#{empty isShowPage or not isShowPage}">
- <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_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>
-
- <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>
-</ui:composition>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:widgets="http://mxchange.org/jsf/core/widgets"
- 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="#{not empty landLineNumber}">
- <ul class="navbar-mini">
- <ui:fragment rendered="#{empty isShowPage or not isShowPage}">
- <li class="navlink-mini">
- <h:link outcome="admin_show_landline" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_LANDLINE_NUMBER_TITLE}">
- <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
- </h:link>
- </li>
- </ui:fragment>
-
- <li class="navlink-mini">
- <h:link outcome="admin_edit_landline" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_LANDLINE_NUMBER_TITLE}">
- <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
- </h:link>
- </li>
-
- <ui:fragment rendered="#{not empty contact}">
- <li class="navlink-mini">
- <h:link outcome="admin_unlink_contact_landline">
- <h:outputText styleClass="link-warning" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_LANDLINE_NUMBER_CONTACT_TITLE}" />
- <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
- <f:param name="contactId" value="#{contact.contactId}" />
- </h:link>
- </li>
- </ui:fragment>
-
- <li class="navlink-mini">
- <h:link outcome="admin_delete_landline">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_LANDLINE_NUMBER_TITLE}" />
- <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
- </h:link>
- </li>
- </ul>
- </ui:fragment>
-</ui:composition>
--- /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_basic_data" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMAPNY_DATA_TITLE}">
+ <f:param name="basicDataId" value="#{basicData.basicDataId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
+
+ <li class="navlink-mini">
+ <h:link outcome="admin_edit_basic_data" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_BASIC_COMAPNY_DATA_TITLE}">
+ <f:param name="basicDataId" value="#{basicData.basicDataId}" />
+ </h:link>
+ </li>
+
+ <li class="navlink-mini">
+ <h:link outcome="admin_delete_basic_data">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_BASIC_COMAPNY_DATA_TITLE}" />
+ <f:param name="basicDataId" value="#{basicData.basicDataId}" />
+ </h:link>
+ </li>
+ </ul>
+ </ui:fragment>
+</ui:composition>
--- /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_branch_office" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMAPNY_DATA_TITLE}">
+ <f:param name="branchOfficeId" value="#{branchOffice.branchOfficeId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
+
+ <li class="navlink-mini">
+ <h:link outcome="admin_edit_branch_office" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_BASIC_COMAPNY_DATA_TITLE}">
+ <f:param name="branchOfficeId" value="#{branchOffice.branchOfficeId}" />
+ </h:link>
+ </li>
+
+ <li class="navlink-mini">
+ <h:link outcome="admin_delete_branch_office">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_BASIC_COMAPNY_DATA_TITLE}" />
+ <f:param name="branchOfficeId" value="#{branchOffice.branchOfficeId}" />
+ </h:link>
+ </li>
+ </ul>
+ </ui:fragment>
+</ui:composition>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ 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}">
+ <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_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>
+
+ <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>
+</ui:composition>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ 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="#{not empty landLineNumber}">
+ <ul class="navbar-mini">
+ <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
+ <li class="navlink-mini">
+ <h:link outcome="admin_show_landline" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_LANDLINE_NUMBER_TITLE}">
+ <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
+
+ <li class="navlink-mini">
+ <h:link outcome="admin_edit_landline" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_LANDLINE_NUMBER_TITLE}">
+ <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
+ </h:link>
+ </li>
+
+ <ui:fragment rendered="#{not empty contact}">
+ <li class="navlink-mini">
+ <h:link outcome="admin_unlink_contact_landline">
+ <h:outputText styleClass="link-warning" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_LANDLINE_NUMBER_CONTACT_TITLE}" />
+ <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
+ <f:param name="contactId" value="#{contact.contactId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
+
+ <li class="navlink-mini">
+ <h:link outcome="admin_delete_landline">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_LANDLINE_NUMBER_TITLE}" />
+ <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
+ </h:link>
+ </li>
+ </ul>
+ </ui:fragment>
+</ui:composition>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ 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}">
+ <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_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>
+
+ <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>
+</ui:composition>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ 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}">
+ <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_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>
+</ui:composition>
--- /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">
+
+ <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}">
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
+ </li>
+
+ <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>
+
+ <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>
+
+ <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>
+ <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>
+</ui:composition>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:widgets="http://mxchange.org/jsf/core/widgets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
-
- <ul class="navbar-mini">
- <ui:fragment rendered="#{empty isShowPage or not isShowPage}">
- <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_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>
-
- <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>
-</ui:composition>
--- /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">
+
+ <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_USER}" 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_USER}" title="#{msg.ADMIN_LINK_EDIT_USER_TITLE}">
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
+ </li>
+
+ <ui:fragment rendered="#{not empty renderContactLinks and renderContactLinks}">
+ <li>
+ <h:link outcome="admin_edit_contact" value="#{msg.ADMIN_LINK_EDIT_CONTACT}" title="#{msg.ADMIN_LINK_EDIT_CONTACT_TITLE}">
+ <f:param name="contactId" value="#{user.userContact.contactId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
+
+ <li>
+ <h:link outcome="admin_resend_user_confirm_link" value="#{msg.ADMIN_LINK_RESEND_USER_CONFIRMATION_LINK}" 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_unlock_user" value="#{msg.ADMIN_LINK_UNLOCK_USER}" title="#{msg.ADMIN_LINK_UNLOCK_USER_TITLE}" rendered="#{user.userAccountStatus == 'LOCKED'}">
+ <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_USER}" title="#{msg.ADMIN_LINK_LOCK_USER_TITLE}" rendered="#{user.userAccountStatus == 'CONFIRMED'}" />
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
+ </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}" />
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
+ </li>
+
+ <ui:fragment rendered="#{not empty renderContactLinks and renderContactLinks}">
+ <li>
+ <h:link outcome="admin_show_contact" value="#{msg.ADMIN_LINK_SHOW_CONTACT_DATA}" title="#{msg.ADMIN_LINK_SHOW_CONTACT_DATA_TITLE}">
+ <f:param name="contactId" value="#{user.userContact.contactId}" />
+ </h:link>
+ </li>
+ </ui:fragment>
+
+ <li>
+ <h:link outcome="admin_show_user_activity_log" value="#{msg.ADMIN_LINK_SHOW_USER_ACTIVITY_LOG}" title="#{msg.ADMIN_LINK_SHOW_USER_ACTIVITY_LOG_TITLE}">
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
+ </li>
+ </ul>
+ </h:panelGroup>
+ </h:panelGroup>
+</ui:composition>
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
</h:outputText>
</h:column>
- <h:column rendered="#{empty showAdminLinks or showAdminLinks == true}">
+ <h:column rendered="#{empty showAdminMiniLinks or showAdminMiniLinks == true}">
<h:outputLabel styleClass="table-data-label" value="#{msg.ADMIN_SHOW_ADMINISTRATIVE_LINKS}" />
<div class="table-data-field">
- <widgets:outputAdminFaxLinks faxNumber="#{faxNumber}" contact="#{contact}" isShowPage="#{isShowPage}" />
+ <links:outputFaxNumberAdminMiniLinks faxNumber="#{faxNumber}" contact="#{contact}" renderShowLink="#{renderShowLink}" />
</div>
</h:column>
</h:panelGrid>
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
</h:outputText>
</h:column>
- <h:column rendered="#{empty showAdminLinks or showAdminLinks == true}">
+ <h:column rendered="#{empty showAdminMiniLinks or showAdminMiniLinks == true}">
<h:outputLabel styleClass="table-data-label" value="#{msg.ADMIN_SHOW_ADMINISTRATIVE_LINKS}" />
<div class="table-data-field">
- <widgets:outputAdminLandLineLinks landLineNumber="#{landLineNumber}" contact="#{contact}" isShowPage="#{isShowPage}" />
+ <links:outputLandLineNumberAdminMiniLinks landLineNumber="#{landLineNumber}" contact="#{contact}" renderShowLink="#{renderShowLink}" />
</div>
</h:column>
</h:panelGrid>
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
</h:outputText>
</h:column>
- <h:column rendered="#{empty showAdminLinks or showAdminLinks == true}">
+ <h:column rendered="#{empty showAdminMiniLinks or showAdminMiniLinks == true}">
<h:outputLabel styleClass="table-data-label" value="#{msg.ADMIN_SHOW_ADMINISTRATIVE_LINKS}" />
<div class="table-data-field">
- <widgets:outputAdminMobileLinks mobileNumber="#{mobileNumber}" contact="#{contact}" isShowPage="#{isShowPage}" />
+ <links:outputMobileNumberAdminMiniLinks mobileNumber="#{mobileNumber}" contact="#{contact}" renderShowLink="#{renderShowLink}" />
</div>
</h:column>
</h:panelGrid>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:widgets="http://mxchange.org/jsf/core/widgets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
-
- <widgets:outputMessageBox message="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.contact}" />
-
- <h:panelGroup styleClass="table" layout="block" rendered="#{not empty beanHelper.contact}">
- <div class="table-header">
- <h:outputText value="#{msg.ADMIN_LINKS_HEADER}" />
- </div>
-
- <h:panelGroup styleClass="table-row" layout="block">
- <ul>
- <li>
- <h:link outcome="admin_edit_contact" value="#{msg.ADMIN_LINK_EDIT_CONTACT}" title="#{msg.ADMIN_LINK_EDIT_CONTACT_TITLE}">
- <f:param name="contactId" value="#{beanHelper.contact.contactId}" />
- </h:link>
- </li>
-
- <li>
- <h:link outcome="admin_delete_contact" title="#{msg.ADMIN_LINK_DELETE_CONTACT_TITLE}">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_CONTACT}" />
- <f:param name="contactId" value="#{beanHelper.contact.contactId}" />
- </h:link>
- </li>
- </ul>
- </h:panelGroup>
- </h:panelGroup>
-</ui:composition>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:widgets="http://mxchange.org/jsf/core/widgets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
-
- <widgets:outputMessageBox message="#{msg.ERROR_BEAN_HELPER_USER_NOT_SET}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.user}" />
-
- <h:panelGroup styleClass="table" layout="block" rendered="#{not empty beanHelper.user}">
- <div class="table-header">
- <h:outputText value="#{msg.ADMIN_LINKS_HEADER}" />
- </div>
-
- <h:panelGroup styleClass="table-row" layout="block">
- <ul>
- <li>
- <h:link outcome="admin_edit_user" value="#{msg.ADMIN_LINK_EDIT_USER}" title="#{msg.ADMIN_LINK_EDIT_USER_TITLE}">
- <f:param name="userId" value="#{beanHelper.user.userId}" />
- </h:link>
- </li>
-
- <li>
- <h:link outcome="admin_edit_contact" value="#{msg.ADMIN_LINK_EDIT_CONTACT}" title="#{msg.ADMIN_LINK_EDIT_CONTACT_TITLE}">
- <f:param name="contactId" value="#{beanHelper.user.userContact.contactId}" />
- </h:link>
- </li>
-
- <li>
- <h:link outcome="admin_resend_user_confirm_link" value="#{msg.ADMIN_LINK_RESEND_USER_CONFIRMATION_LINK}" title="#{msg.ADMIN_LINK_RESEND_USER_CONFIRMATION_LINK_TITLE}" rendered="#{beanHelper.user.userAccountStatus == 'UNCONFIRMED'}">
- <f:param name="userId" value="#{beanHelper.user.userId}" />
- </h:link>
-
- <h:link outcome="admin_unlock_user" value="#{msg.ADMIN_LINK_UNLOCK_USER}" title="#{msg.ADMIN_LINK_UNLOCK_USER_TITLE}" rendered="#{beanHelper.user.userAccountStatus == 'LOCKED'}">
- <f:param name="userId" value="#{beanHelper.user.userId}" />
- </h:link>
-
- <h:link outcome="admin_lock_user" value="#{msg.ADMIN_LINK_LOCK_USER}" title="#{msg.ADMIN_LINK_LOCK_USER_TITLE}" rendered="#{beanHelper.user.userAccountStatus == 'CONFIRMED'}">
- <f:param name="userId" value="#{beanHelper.user.userId}" />
- </h:link>
- </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}" />
- <f:param name="userId" value="#{beanHelper.user.userId}" />
- </h:link>
- </li>
-
- <li>
- <h:link outcome="admin_show_contact" value="#{msg.ADMIN_LINK_SHOW_CONTACT_DATA}" title="#{msg.ADMIN_LINK_SHOW_CONTACT_DATA_TITLE}">
- <f:param name="contactId" value="#{beanHelper.user.userContact.contactId}" />
- </h:link>
- </li>
-
- <li>
- <h:link outcome="admin_show_user_activity_log" value="#{msg.ADMIN_LINK_SHOW_USER_ACTIVITY_LOG}" title="#{msg.ADMIN_LINK_SHOW_USER_ACTIVITY_LOG_TITLE}">
- <f:param name="userId" value="#{beanHelper.user.userId}" />
- </h:link>
- </li>
- </ul>
- </h:panelGroup>
- </h:panelGroup>
-</ui:composition>
<context-param>
<description>Generic custom JSF tags library</description>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
- <param-value>/WEB-INF/widgets.jsf.taglib.xml</param-value>
+ <param-value>/WEB-INF/widgets.jsf.taglib.xml;/WEB-INF/links.jsf.taglib.xml</param-value>
</context-param>
<context-param>
<description>Project stage</description>
<type>java.lang.String</type>
</attribute>
</tag>
- <tag>
- <tag-name>outputUserProfileLink</tag-name>
- <description>This tag renders a h:link JSF tag for a user profile.</description>
- <source>resources/tags/profile/user/user_profile_link.tpl</source>
- <attribute>
- <name>user</name>
- <description>An instance of a User class.</description>
- <required>true</required>
- <type>org.mxchange.jusercore.model.user.User</type>
- </attribute>
- </tag>
<tag>
<tag-name>outputAdminFaxPanelGrid</tag-name>
<description>This tag renders a full h:panelGrid for administrative purposes for fax data.</description>
<source>resources/tags/admin/panel_grids/fax/admin_fax_data.tpl</source>
<attribute>
- <name>isShowPage</name>
+ <name>renderShowLink</name>
<description>Whether this tag is used to show mobile data (default true).</description>
<required>false</required>
<type>java.lang.Boolean</type>
<type>java.lang.Boolean</type>
</attribute>
<attribute>
- <name>showAdminLinks</name>
+ <name>showAdminMiniLinks</name>
<description>Whether to show administrative links to other pages (default: true).</description>
<required>false</required>
<type>java.lang.Boolean</type>
<description>This tag renders a full h:panelGrid for administrative purposes for land-line data.</description>
<source>resources/tags/admin/panel_grids/landline/admin_landline_data.tpl</source>
<attribute>
- <name>isShowPage</name>
+ <name>renderShowLink</name>
<description>Whether this tag is used to show mobile data (default true).</description>
<required>false</required>
<type>java.lang.Boolean</type>
<type>java.lang.Boolean</type>
</attribute>
<attribute>
- <name>showAdminLinks</name>
+ <name>showAdminMiniLinks</name>
<description>Whether to show administrative links to other pages (default: true).</description>
<required>false</required>
<type>java.lang.Boolean</type>
<description>This tag renders a full h:panelGrid for administrative purposes for mobile data.</description>
<source>resources/tags/admin/panel_grids/mobile/admin_mobile_data.tpl</source>
<attribute>
- <name>isShowPage</name>
+ <name>renderShowLink</name>
<description>Whether this tag is used to show mobile data (default true).</description>
<required>false</required>
<type>java.lang.Boolean</type>
<type>java.lang.Boolean</type>
</attribute>
<attribute>
- <name>showAdminLinks</name>
+ <name>showAdminMiniLinks</name>
<description>Whether to show administrative links to other pages (default: true).</description>
<required>false</required>
<type>java.lang.Boolean</type>
<type>java.lang.Boolean</type>
</attribute>
</tag>
- <tag>
- <tag-name>outputAdminFaxLinks</tag-name>
- <description>This tag renders a full h:panelGroup for administrative links for fax data.</description>
- <source>resources/tags/admin/links/fax/admin_fax_data.tpl</source>
- <attribute>
- <name>isShowPage</name>
- <description>Whether this tag is used to show mobile data (default true).</description>
- <required>false</required>
- <type>java.lang.Boolean</type>
- </attribute>
- <attribute>
- <name>faxNumber</name>
- <description>The fax instance that provides the data for this tag.</description>
- <required>true</required>
- <type>org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber</type>
- </attribute>
- <attribute>
- <name>contact</name>
- <description>The contact instance that provides contact data for additional JSF links.</description>
- <required>false</required>
- <type>org.mxchange.jcontacts.model.contact.Contact</type>
- </attribute>
- <attribute>
- <name>rendered</name>
- <description>Whether this tag is being rendered by JSF engine.</description>
- <required>false</required>
- <type>java.lang.Boolean</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>outputAdminLandLineLinks</tag-name>
- <description>This tag renders a full h:panelGroup for administrative links for land-line data.</description>
- <source>resources/tags/admin/panel_grids/landline/admin_landline_data.tpl</source>
- <attribute>
- <name>isShowPage</name>
- <description>Whether this tag is used to show mobile data (default true).</description>
- <required>false</required>
- <type>java.lang.Boolean</type>
- </attribute>
- <attribute>
- <name>landLineNumber</name>
- <description>The fax instance that provides the data for this tag.</description>
- <required>true</required>
- <type>org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber</type>
- </attribute>
- <attribute>
- <name>contact</name>
- <description>The contact instance that provides contact data for additional JSF links.</description>
- <required>false</required>
- <type>org.mxchange.jcontacts.model.contact.Contact</type>
- </attribute>
- <attribute>
- <name>rendered</name>
- <description>Whether this tag is being rendered by JSF engine.</description>
- <required>false</required>
- <type>java.lang.Boolean</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>outputAdminMobileLinks</tag-name>
- <description>This tag renders a full h:panelGroup for administrative links for mobile data.</description>
- <source>resources/tags/admin/panel_grids/mobile/admin_mobile_data.tpl</source>
- <attribute>
- <name>isShowPage</name>
- <description>Whether this tag is used to show mobile data (default true).</description>
- <required>false</required>
- <type>java.lang.Boolean</type>
- </attribute>
- <attribute>
- <name>mobileNumber</name>
- <description>The mobile instance that provides the data for this tag.</description>
- <required>true</required>
- <type>org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber</type>
- </attribute>
- <attribute>
- <name>contact</name>
- <description>The contact instance that provides contact data for additional JSF links.</description>
- <required>false</required>
- <type>org.mxchange.jcontacts.model.contact.Contact</type>
- </attribute>
- <attribute>
- <name>rendered</name>
- <description>Whether this tag is being rendered by JSF engine.</description>
- <required>false</required>
- <type>java.lang.Boolean</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>outputBasicDataAdminLinks</tag-name>
- <description>This tag renders administrative links for given basicData instance.</description>
- <source>resources/tags/admin/links/basic_data/admin_basic_data_links.tpl</source>
- <attribute>
- <name>basicData</name>
- <description>The mobile instance that provides the data for this tag.</description>
- <required>true</required>
- <type></type>
- </attribute>
- <attribute>
- <name>renderShowLink</name>
- <description>Whether to render (default: yes) "show basic data" link.</description>
- <required>false</required>
- <type>java.langBoolean</type>
- </attribute>
- <attribute>
- <name>rendered</name>
- <description>Whether this tag is being rendered by JSF engine.</description>
- <required>false</required>
- <type>java.lang.Boolean</type>
- </attribute>
- </tag>
</facelet-taglib>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:outputText value="#{msg.ADMIN_ACTION_LINKS}" />
</f:facet>
- <widgets:outputBasicDataAdminLinks basicData="#{basicData}" />
+ <links:outputBasicDataAdminMiniLinks basicData="#{basicData}" />
</h:column>
</h:dataTable>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<f:convertDateTime for="branchCreated" type="both" timeStyle="short" dateStyle="short" />
</h:outputText>
</h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_ACTION_LINKS}" />
+ </f:facet>
+
+ <links:outputBranchOfficeAdminMiniLinks branchOffice="#{branchOffice}" />
+ </h:column>
</h:dataTable>
<h:form id="form_admin_add_branch_office">
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<f:convertDateTime for="contactCreated" type="both" timeStyle="short" dateStyle="short" />
</h:outputText>
</h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_ACTION_LINKS}" />
+ </f:facet>
+
+ <links:outputContactAdminMiniLinks contact="#{contact}" />
+ </h:column>
</h:dataTable>
<h:form id="form_admin_add_contact">
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
</h:panelGroup>
<h:panelGroup styleClass="para" layout="block">
- <ui:include src="/WEB-INF/templates/admin/contact/admin_contact_links.tpl" />
+ <links:outputContactAdminMiniLinks contact="#{beanHelper.contact}" renderShowLink="false" />
</h:panelGroup>
<h:panelGroup styleClass="para" layout="block">
</div>
<div class="para">
- <widgets:outputAdminFaxPanelGrid faxNumber="#{beanHelper.faxNumber}" contact="#{beanHelper.contact}" isShowPage="false" showAdminLinks="false" />
+ <widgets:outputAdminFaxPanelGrid faxNumber="#{beanHelper.faxNumber}" contact="#{beanHelper.contact}" renderShowLink="false" showAdminMiniLinks="false" />
</div>
<div class="table-footer">
</div>
<div class="para">
- <widgets:outputAdminLandLinePanelGrid landLineNumber="#{beanHelper.landLineNumber}" contact="#{beanHelper.contact}" isShowPage="false" showAdminLinks="false" />
+ <widgets:outputAdminLandLinePanelGrid landLineNumber="#{beanHelper.landLineNumber}" contact="#{beanHelper.contact}" renderShowLink="false" showAdminMiniLinks="false" />
</div>
<div class="table-footer">
</div>
<div class="para">
- <widgets:outputAdminMobilePanelGrid mobileNumber="#{beanHelper.mobileNumber}" contact="#{beanHelper.contact}" isShowPage="false" showAdminLinks="false" />
+ <widgets:outputAdminMobilePanelGrid mobileNumber="#{beanHelper.mobileNumber}" contact="#{beanHelper.contact}" renderShowLink="false" showAdminMiniLinks="false" />
</div>
<div class="table-footer">
<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:outputText value="#{msg[country.countryI18nKey]}" />
</h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_ACTION_LINKS}" />
+ </f:facet>
+
+ <links:outputCountryAdminMiniLinks country="#{country}" />
+ </h:column>
</h:dataTable>
<h:form id="form_add_country">
</div>
<div class="para">
- <widgets:outputAdminFaxPanelGrid faxNumber="#{beanHelper.faxNumber}" isShowPage="false" showAdminLinks="false" />
+ <widgets:outputAdminFaxPanelGrid faxNumber="#{beanHelper.faxNumber}" renderShowLink="false" showAdminMiniLinks="false" />
</div>
<div class="para">
</ui:define>
<ui:define name="content">
- <widgets:outputAdminFaxPanelGrid faxNumber="#{beanHelper.faxNumber}" isShowPage="true" />
+ <widgets:outputAdminFaxPanelGrid faxNumber="#{beanHelper.faxNumber}" />
<h:dataTable id="contact_fax_link" var="contact" value="#{contactPhoneController.allCurrentFaxNumberContacts()}" summary="#{msg.TABLE_SUMMARY_ADMIN_SHOW_ADMINISTRATIVE_LINKS}" headerClass="table-header-column" styleClass="table table-medium">
<f:facet name="header">
</div>
<div class="para">
- <widgets:outputAdminLandLinePanelGrid landLineNumber="#{beanHelper.landLineNumber}" isShowPage="false" showAdminLinks="false" />
+ <widgets:outputAdminLandLinePanelGrid landLineNumber="#{beanHelper.landLineNumber}" renderShowLink="false" showAdminMiniLinks="false" />
</div>
<div class="para">
</div>
<div class="para">
- <widgets:outputAdminMobilePanelGrid mobileNumber="#{beanHelper.mobileNumber}" isShowPage="false" showAdminLinks="false" />
+ <widgets:outputAdminMobilePanelGrid mobileNumber="#{beanHelper.mobileNumber}" renderShowLink="false" showAdminMiniLinks="false" />
</div>
<div class="para">
</ui:define>
<ui:define name="content">
- <widgets:outputAdminMobilePanelGrid mobileNumber="#{beanHelper.mobileNumber}" isShowPage="true" />
+ <widgets:outputAdminMobilePanelGrid mobileNumber="#{beanHelper.mobileNumber}" />
<h:dataTable id="contact_mobile_link" var="contact" value="#{contactPhoneController.allCurrentMobileNumberContacts()}" summary="#{msg.TABLE_SUMMARY_ADMIN_SHOW_ADMINISTRATIVE_LINKS}" headerClass="table-header-column" styleClass="table table-medium">
<f:facet name="header">
<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
</ui:define>
<ui:define name="content">
- <h:dataTable id="table_list_mobile" var="mobile" value="#{mobileProviderController.allMobileProviders()}" styleClass="table table-medium" headerClass="table-header-column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_MOBILE_PROVIDERS}" rendered="#{not mobileProviderController.allMobileProviders().isEmpty()}">
+ <h:dataTable id="table_list_mobile" var="mobileProvider" value="#{mobileProviderController.allMobileProviders()}" styleClass="table table-medium" headerClass="table-header-column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_MOBILE_PROVIDERS}" rendered="#{not mobileProviderController.allMobileProviders().isEmpty()}">
<h:column>
<f:facet name="header">
<h:outputText value="#{msg.ADMIN_ID_NUMBER}" />
</f:facet>
- <h:link outcome="admin_edit_mobile_provider" title="#{msg.ADMIN_LINK_EDIT_DELETE_MOBILE_PROVIDER_TITLE}" value="#{mobile.providerId}">
- <f:param name="providerId" value="#{mobile.providerId}" />
+ <h:link outcome="admin_edit_mobile_provider" title="#{msg.ADMIN_LINK_EDIT_DELETE_MOBILE_PROVIDER_TITLE}" value="#{mobileProvider.providerId}">
+ <f:param name="providerId" value="#{mobileProvider.providerId}" />
</h:link>
</h:column>
<h:outputText value="#{msg.ADMIN_LIST_MOBILE_PROVIDER_NAME}" />
</f:facet>
- <h:outputText value="#{mobile.providerName}" />
+ <h:outputText value="#{mobileProvider.providerName}" />
</h:column>
<h:column>
<h:outputText value="#{msg.ADMIN_LIST_MOBILE_PROVIDER_DIAL_PREFIX}" />
</f:facet>
- <h:outputText value="#{mobile.providerDialPrefix}" />
+ <h:outputText value="#{mobileProvider.providerDialPrefix}" />
</h:column>
<h:column>
<h:outputText value="#{msg.ADMIN_LIST_MOBILE_PROVIDER_COUNTRY}" />
</f:facet>
- <h:outputText value="#{msg[mobile.providerCountry.countryI18nKey]}" />
+ <h:outputText value="#{msg[mobileProvider.providerCountry.countryI18nKey]}" />
</h:column>
<h:column>
<h:outputText value="#{msg.ADMIN_LIST_ENTRY_CREATED}" />
</f:facet>
- <h:outputText id="providerEntryCreated" value="#{mobile.providerEntryCreated.time}" title="#{msg.ADMIN_MOBILE_PROVIDER_ENTRY_CREATED_TITLE}">
+ <h:outputText id="providerEntryCreated" value="#{mobileProvider.providerEntryCreated.time}" title="#{msg.ADMIN_MOBILE_PROVIDER_ENTRY_CREATED_TITLE}">
<f:convertDateTime for="providerEntryCreated" type="both" timeStyle="short" dateStyle="short" />
</h:outputText>
</h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_ACTION_LINKS}" />
+ </f:facet>
+
+ <links:outputMobileProviderAdminMiniLinks mobileProvider="#{mobileProvider}" />
+ </h:column>
</h:dataTable>
<h:form id="form_add_mobile_provider">
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<f:convertDateTime for="userCreated" type="both" timeStyle="short" dateStyle="short" />
</h:outputText>
</h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_ACTION_LINKS}" />
+ </f:facet>
+
+ <links:outputUserAdminMiniLinks user="#{user}" />
+ </h:column>
</h:dataTable>
<h:panelGroup styleClass="table table-medium" layout="block">
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<ui:include src="/WEB-INF/templates/admin/user/admin_show_user_data.tpl" />
<h:panelGroup styleClass="para" layout="block">
- <ui:include src="/WEB-INF/templates/admin/user/admin_user_links.tpl" />
+ <links:outputUserAdminLinks user="#{beanHelper.user}" renderShowLink="false" renderContactLinks="true" renderHeader="true" />
</h:panelGroup>
<h:panelGroup styleClass="para" layout="block">
<ui:composition template="/WEB-INF/templates/guest/guest_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:outputText value="#{msg.USER_NAME}" />
</f:facet>
- <widgets:outputUserProfileLink user="#{user}" />
+ <links:outputUserProfileLink user="#{user}" />
</h:column>
<h:column>