]> git.mxchange.org Git - jfinancials-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>
Sun, 24 Nov 2019 04:39:30 +0000 (05:39 +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 957758e4de777344fc0aea429cb6f8bde6a7d3c8..9d45b4388bf1b4ff0a949835e32ac50180593ab6 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>