]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sun, 24 Nov 2019 04:39:30 +0000 (05:39 +0100)
committerRoland Häder <roland@mxchange.org>
Sat, 1 Feb 2020 02:55:04 +0000 (03:55 +0100)
- introduced new feature switch "guest_index_content"

Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/web.xml
web/index.xhtml

index 1d3610d04060c534c2e68657e213a75e2502f001..0f912c06f82dc283337502ad141354ce92aadfac 100644 (file)
         <param-name>is_feature_guest_menu_enabled</param-name>
         <param-value>true</param-value>
     </context-param>
+    <context-param>
+        <description>Whether the guest's index content is shown</description>
+        <param-name>is_feature_guest_index_content_enabled</param-name>
+        <param-value>true</param-value>
+    </context-param>
     <context-param>
         <description>Whether recovery of user passwords is enabled.</description>
         <param-name>is_feature_user_password_recovery_enabled</param-name>
index f1119b9a9027b5ff32d72d707fe5480f44f83d04..a2025f049dce42b9d78d0e763ac8c37ea7642f8f 100644 (file)
@@ -27,7 +27,7 @@
                        </h:panelGroup>
                </ui:fragment>
 
-               <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration_in_index')}">
+               <ui:fragment rendered="#{featureController.isFeatureEnabled('guest_index_content')}">
                        <ui:include src="/WEB-INF/templates/guest/guest_index.tpl" />
                </ui:fragment>
        </ui:define>