Commit 852e0daa authored by Ivan Tyagov's avatar Ivan Tyagov

Show respective collapse arrow for top global navigation menu.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35376 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 29e6e543
......@@ -51,7 +51,8 @@
is_anonymous here/portal_membership/isAnonymousUser;\n
anonymous_navigation_menu python:is_anonymous and current_web_site.getLayoutProperty(\'layout_anonymous_navigation_menu\');">\n
\n
<li tal:condition="not:anonymous_navigation_menu">\n
<li class="collapse-menu"\n
tal:condition="not:anonymous_navigation_menu">\n
<a href="#" >\n
<tal:block i18n:translate="" i18n:domain="ui">Browse</tal:block>\n
<!--[if IE 7]><!-->\n
......
......@@ -64,7 +64,8 @@
\n
<tal:block tal:replace="structure here/WebSite_viewBrowseNavigationMenuWidget"/>\n
\n
<li tal:condition="not:anonymous_navigation_menu">\n
<li class="collapse-menu" \n
tal:condition="not:anonymous_navigation_menu">\n
<a href="#" tal:attributes="href string:${search_area_url}/ERP5Site_viewSearchResult">\n
Documents<!--[if IE 7]><!-->\n
</a><!--<![endif]-->\n
......@@ -135,8 +136,9 @@
</ul>\n
<!--[if lte IE 6]></td></tr></table></a><![endif]-->\n
</li>\n
<li tal:condition="python: here.Base_checkPermission(\'person_module\', \'View\')"><a href="#" i18n:translate="" i18n:domain="ui"\n
tal:attributes="href string:${portal_path}/person_module/PersonModule_viewPersonList">Contacts<!--[if IE 7]><!--></a><!--<![endif]-->\n
<li class="collapse-menu" tal:condition="python: here.Base_checkPermission(\'person_module\', \'View\')">\n
<a href="#" i18n:translate="" i18n:domain="ui"\n
tal:attributes="href string:${portal_path}/person_module/PersonModule_viewPersonList">Contacts<!--[if IE 7]><!--></a><!--<![endif]-->\n
<!--[if lte IE 6]><table><tr><td><![endif]-->\n
<ul>\n
<li><a href="#" i18n:translate="" i18n:domain="ui"\n
......@@ -152,7 +154,8 @@
absolute_url context/absolute_url;\n
count python: reduce(lambda x, y: x+(y.has_key(\'count\') and y[\'count\'] or 0), ordered_global_actions, 0);\n
portal_url python: context.portal_url();">\n
<li tal:condition="not:is_anonymous">\n
<li class="collapse-menu"\n
tal:condition="not:is_anonymous">\n
<a href="#" i18n:translate="" i18n:domain="ui">\n
<tal:block i18n:translate="" i18n:domain="ui">Tasks</tal:block>\n
<tal:block tal:replace="python: \' (%s)\' % count"></tal:block>\n
......@@ -181,7 +184,8 @@
</li>\n
</tal:block>\n
\n
<li tal:condition="not:is_anonymous">\n
<li class="collapse-menu"\n
tal:condition="not:is_anonymous">\n
<a href="#" i18n:translate="" i18n:domain="ui">Settings</a>\n
<ul>\n
<li>\n
......
......@@ -393,6 +393,13 @@ button, select, input {\n
\n
}\n
\n
/* Top menu collapse root element */\n
#menu ul li.collapse-menu{\n
background: url(../km_img/collapse-down-arrow.gif) no-repeat transparent right 10px;\n
padding-right: 0px;\n
\n
}\n
\n
#menu .meta {\n
\n
\tfloat:right;\n
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Image" module="OFS.Image"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts74091753.6</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>collapse-down-arrow.gif</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/gif</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">R0lGODlhCAAIAIABAIKCgv///yH+EUNyZWF0ZWQgd2l0aCBHSU1QACH5BAEAAAEALAAAAAAIAAgA
AAIMjI8ZwM3h2HGJqasKADs=</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>8</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>74</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>collapse-down-arrow.gif</string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>8</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
1404
\ No newline at end of file
1407
\ 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