]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/admin/landline/admin_landline_list.xhtml
Please cherry-pick:
[jjobs-war.git] / web / admin / landline / admin_landline_list.xhtml
index 82b000d2e242850cb23c335d01c005a0f359b7c7..354478e69cd3b8989551daab26c6d170cf77d585 100644 (file)
@@ -8,10 +8,12 @@
        >
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
-               <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_LAND_LINE}</ui:define>
+               <ui:define name="admin_title">
+                       <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_LAND_LINE_NUMBER}" />
+               </ui:define>
 
                <ui:define name="content_header">
-                       #{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_LAND_LINE}
+                       <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_LAND_LINE_NUMBER}" />
                </ui:define>
 
                <ui:define name="content">
                                </h:column>
                        </h:dataTable>
 
-                       <h:outputText styleClass="errors" value="#{msg.ADMIN_LIST_LAND_LINE_EMPTY}" rendered="#{phoneController.allLandLineNumbers().isEmpty()}" />
+                       <ui:fragment rendered="#{phoneController.allLandLineNumbers().isEmpty()}">
+                               <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+                                       <ui:param name="message" value="#{msg.ADMIN_LIST_LAND_LINE_EMPTY}" />
+                                       <ui:param name="styleClass" value="errors" />
+                               </ui:include>
+                       </ui:fragment>
                </ui:define>
        </ui:composition>
 </html>