]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/index.xhtml
Please cherry-pick:
[jjobs-war.git] / web / index.xhtml
index 68ad41bf228459b98292bf8d207d86f54a27d179..8273fa14895a7b804ed5a421965ab835a3ad2814 100644 (file)
@@ -8,24 +8,30 @@
        >
 
        <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
-               <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_WELCOME}</ui:define>
+               <ui:define name="guest_title">
+                       <h:outputText value="#{msg.PAGE_TITLE_INDEX_WELCOME}" />
+               </ui:define>
 
                <ui:define name="content_header">
-                       #{msg.CONTENT_TITLE_INDEX_WELCOME}
+                       <h:outputText value="#{msg.CONTENT_TITLE_INDEX_WELCOME}" />
                </ui:define>
 
                <ui:define name="content">
-                       <div class="para">
-                               <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA1}" />
-                       </div>
+                       <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
+                               <div class="registration_form">
+                                       <ui:fragment rendered="#{featureController.isFeatureEnabled('user_register_multiple_page')}">
+                                               <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl" />
+                                       </ui:fragment>
+                               </div>
 
-                       <div class="para">
-                               <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA2}" />
-                       </div>
+                               <div class="para">
+                                       <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA3}" />
+                               </div>
+                       </ui:fragment>
 
-                       <div class="para">
-                               <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA3}" />
-                       </div>
+                       <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration_in_index')}">
+                               <ui:include src="/WEB-INF/templates/guest/guest_index.tpl" />
+                       </ui:fragment>
                </ui:define>
        </ui:composition>
 </html>