diff --git a/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.xml b/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.xml index f174841fa3949d613e64f8dec9672278a651dd13..3d07ea2184f7f20965b63c2fc52d998ee6cce7d9 100644 --- a/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.xml +++ b/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.xml @@ -43,7 +43,8 @@ xmlns:metal="http://xml.zope.org/namespaces/metal"\n xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n <tal:block tal:define="actions python: here.getPortalObject().portal_actions.listFilteredActionsFor(here);\n - context_url here/absolute_url;">\n + context_url here/absolute_url;\n + isAnonymousUser here/portal_membership/isAnonymousUser">\n \n <div id="top-bar">\n \n @@ -70,7 +71,7 @@ i18n:translate="" i18n:domain="ui"></option>\n </tal:block>\n </tal:block>\n - <option tal:condition="python: getattr(here, \'Base_getUserRemoteBusinessConfigurationReferenceList\', None) is not None"\n + <option tal:condition="python: getattr(here, \'Base_getUserRemoteBusinessConfigurationReferenceList\', None) is not None and not isAnonymousUser"\n disabled="disabled">-- <tal:block tal:content="string: Your Instances" i18n:translate="" i18n:domain="ui" /> --</option>\n <tal:block tal:condition="python: getattr(here, \'Base_getUserRemoteBusinessConfigurationReferenceList\', None) is not None"\n tal:repeat="instance_id python: here.Base_getUserRemoteBusinessConfigurationReferenceList()">\n @@ -119,7 +120,7 @@ <div class="second">\n \n <span id="tiologin"\n - tal:condition="here/portal_membership/isAnonymousUser"><a href="#" id="link-login" \n + tal:condition="isAnonymousUser"><a href="#" id="link-login" \n tal:attributes="href string:${context_url}/login_form"\n i18n:translate="" i18n:domain="ui">Login</a></span>\n \n diff --git a/bt5/tiolive_base/bt/revision b/bt5/tiolive_base/bt/revision index d7765fe47e06ccb3e29a916d2f5ede6d3ac0c533..2fb681e3f93b6b7e6441bd64271813a1ec293b5b 100644 --- a/bt5/tiolive_base/bt/revision +++ b/bt5/tiolive_base/bt/revision @@ -1 +1 @@ -70 \ No newline at end of file +71 \ No newline at end of file