]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/admin/mobile_provider/admin_mobile_provider_list.xhtml
and one (?) more ...
[jjobs-war.git] / web / admin / mobile_provider / admin_mobile_provider_list.xhtml
index 8d30d8b19be303bc2db7e134e6d39b7c6d336971..b6c3f73400313ac14606b0dedc0dd7998abfe7a5 100644 (file)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html
        lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
@@ -8,14 +9,16 @@
        >
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
-               <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_MOBILE_PROVIDER_LIST}</ui:define>
+               <ui:define name="admin_title">
+                       <h:outputText value="#{msg.PAGE_TITLE_ADMIN_MOBILE_PROVIDER_LIST}" />
+               </ui:define>
 
                <ui:define name="content_header">
-                       #{msg.CONTENT_TITLE_ADMIN_MOBILE_PROVIDER_LIST}
+                       <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_MOBILE_PROVIDER_LIST}" />
                </ui:define>
 
                <ui:define name="content">
-                       <h:dataTable id="table_list_mobile" var="mobile" value="#{mobileProviderController.allMobileProvider()}" styleClass="table_medium" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_MOBILE_PROVIDERS}" rendered="#{mobileProviderController.hasMobileProvider()}">
+                       <h:dataTable id="table_list_mobile" var="mobile" value="#{mobileProviderController.allMobileProviders()}" styleClass="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_LIST_MOBILE_PROVIDER_ID}" />
@@ -47,7 +50,7 @@
                                                <h:outputText value="#{msg.ADMIN_LIST_MOBILE_PROVIDER_COUNTRY}" />
                                        </f:facet>
 
-                                       <h:outputText value="#{msg[mobile.providerCountry.countryI18nkey]}" />
+                                       <h:outputText value="#{msg[mobile.providerCountry.countryI18nKey]}" />
                                </h:column>
 
                                <h:column>
@@ -61,8 +64,8 @@
                                </h:column>
                        </h:dataTable>
 
-                       <h:form id="add_mobile_provider_form">
-                               <div class="table_medium">
+                       <h:form id="form_add_mobile_provider">
+                               <h:panelGroup styleClass="table_medium" layout="block">
                                        <div class="table_header">
                                                <h:outputText value="#{msg.ADMIN_ADD_MOBILE_PROVIDER_TITLE}" />
                                        </div>
                                        <ui:include src="/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl" />
 
                                        <div class="table_footer">
-                                               <h:commandButton styleClass="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+                                               <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
                                                <h:commandButton styleClass="submit" type="submit" id="add_mobile_provider" value="#{msg.BUTTON_ADMIN_ADD_MOBILE_PROVIDER}" action="#{adminMobileProviderController.addMobileProvider()}" />
                                        </div>
-                               </div>
+                               </h:panelGroup>
 
                                <div class="para notice">
                                        <h:outputText value="#{msg.ADMIN_ADD_MOBILE_PROVIDER_NOTICES}" />