From: Roland Häder <roland@mxchange.org> Date: Tue, 25 Apr 2017 11:41:23 +0000 (+0200) Subject: Please cherry-pick (if needed): X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0540da982c863fcbcdf7cba31af9ceb587ec2bca;p=jjobs-war.git Please cherry-pick (if needed): - removed cellphone stuff - no more cellphone here, now all mobile phones are welcome! Signed-off-by: Roland Häder <roland@mxchange.org> --- diff --git a/web/WEB-INF/templates/admin/mobile/admin_form_contact_mobile.tpl b/web/WEB-INF/templates/admin/mobile/admin_form_contact_mobile.tpl new file mode 100644 index 00000000..0a978f2d --- /dev/null +++ b/web/WEB-INF/templates/admin/mobile/admin_form_contact_mobile.tpl @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<ui:composition + xmlns="http://www.w3.org/1999/xhtml" + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:h="http://xmlns.jcp.org/jsf/html" + xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + + <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_CONTACT_NOT_SET}" rendered="#{empty beanHelper.contact}" /> + + <h:form id="form_add_contact_mobile"> + </h:form> +</ui:composition> diff --git a/web/admin/mobile/admin_contact_mobile_list.xhtml b/web/admin/mobile/admin_contact_mobile_list.xhtml index d4e1d24c..960a3bb1 100644 --- a/web/admin/mobile/admin_contact_mobile_list.xhtml +++ b/web/admin/mobile/admin_contact_mobile_list.xhtml @@ -9,15 +9,15 @@ <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"> <ui:define name="admin_title"> - <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_CELLPHONE}" /> + <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER}" /> </ui:define> <ui:define name="content_header"> - <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_CELLPHONE}" /> + <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER}" /> </ui:define> <ui:define name="content"> - <h:dataTable id="table_list_mobiles" var="mobile" value="#{phoneController.allCellphones()}" styleClass="table_big" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_CELLPHONES}" rendered="#{not phoneController.allCellphones().isEmpty()}"> + <h:dataTable id="table_list_mobiles" var="mobile" value="#{phoneController.allMobileNumbers()}" styleClass="table_big" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_MOBILE_NUMBERS}" rendered="#{not phoneController.allMobileNumbers().isEmpty()}"> <h:column> <f:facet name="header"> <h:outputText value="#{msg.ADMIN_SHOW_MOBILE_ID}" /> diff --git a/web/admin/mobile/admin_contact_mobile_unlink.xhtml b/web/admin/mobile/admin_contact_mobile_unlink.xhtml index 3c4bb59d..b2ef4af6 100644 --- a/web/admin/mobile/admin_contact_mobile_unlink.xhtml +++ b/web/admin/mobile/admin_contact_mobile_unlink.xhtml @@ -14,11 +14,11 @@ <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"> <ui:define name="admin_title"> - <h:outputText value="#{msg.PAGE_TITLE_ADMIN_UNLINK_CONTACT_CELLPHONE}" /> + <h:outputText value="#{msg.PAGE_TITLE_ADMIN_UNLINK_CONTACT_MOBILE_NUMBER}" /> </ui:define> <ui:define name="content_header"> - <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_UNLINK_CONTACT_CELLPHONE}" /> + <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_UNLINK_CONTACT_MOBILE_NUMBER}" /> </ui:define> <ui:define name="content">