Commit ff8a7683 authored by Fabien Morin's avatar Fabien Morin

* always display "Home" icon in the top left corner

* remove an unused form
* change the link of "Login" icon

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23173 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1b6f77ec
...@@ -57,15 +57,14 @@ ...@@ -57,15 +57,14 @@
<div style="background-image: url(img/erp5-website-logo.png); background-repeat:no-repeat; height: 40px;padding-top: 20px; padding-left: 130px;">\n <div style="background-image: url(img/erp5-website-logo.png); background-repeat:no-repeat; height: 40px;padding-top: 20px; padding-left: 130px;">\n
<span class="onright">\n <span class="onright">\n
<tal:block tal:condition="here/portal_membership/isAnonymousUser">\n <tal:block tal:condition="here/portal_membership/isAnonymousUser">\n
<a class="login" href="EGov_viewLoginForm" i18n:translate="" i18n:domain="ui">Login</a>\n <a class="login" tal:attributes="href python:\'%s/EGov_viewLoginForm\' % context.getWebSiteValue().absolute_url()"\n
href="EGov_viewLoginForm" i18n:translate="" i18n:domain="ui">Login</a>\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: not here.portal_membership.isAnonymousUser() and request[\'current_form_id\'] == \'view\'">\n <tal:block tal:condition="python: not here.portal_membership.isAnonymousUser() and request[\'current_form_id\'] == \'view\'">\n
<a class="logout" href="WebSite_logout" i18n:translate="" i18n:domain="ui">Logout</a>\n <a class="logout" href="WebSite_logout" i18n:translate="" i18n:domain="ui">Logout</a>\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python:request[\'current_form_id\'] != \'view\'">\n
<a class="home" tal:attributes="href python:context.getWebSiteValue().absolute_url()" \n <a class="home" tal:attributes="href python:context.getWebSiteValue().absolute_url()" \n
href="./home" i18n:translate="" i18n:domain="ui">Home</a>\n href="./home" i18n:translate="" i18n:domain="ui">Home</a>\n
</tal:block>\n
<tal:block tal:condition="not:here/portal_membership/isAnonymousUser">\n <tal:block tal:condition="not:here/portal_membership/isAnonymousUser">\n
<a class="preferences" href="./preferences" i18n:translate="" i18n:domain="ui">Preferences</a>\n <a class="preferences" href="./preferences" i18n:translate="" i18n:domain="ui">Preferences</a>\n
</tal:block>\n </tal:block>\n
......
237 238
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment