Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arnaud Fontaine
erp5
Commits
4dde4065
Commit
4dde4065
authored
Apr 20, 2012
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve top menu navigation.
parent
ef0afb71
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
12 deletions
+18
-12
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewBreadcrumbWidget.xml
...l_skins/erp5_km_theme/WebSection_viewBreadcrumbWidget.xml
+12
-9
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewBrowseNavigationMenuWidget.xml
.../erp5_km_theme/WebSite_viewBrowseNavigationMenuWidget.xml
+1
-1
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/km.css.xml
...TemplateItem/portal_skins/erp5_km_theme/km_css/km.css.xml
+4
-1
bt5/erp5_km/bt/revision
bt5/erp5_km/bt/revision
+1
-1
No files found.
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewBreadcrumbWidget.xml
View file @
4dde4065
...
@@ -58,17 +58,20 @@
...
@@ -58,17 +58,20 @@
breadcrumb_list python: current_web_section.getBreadcrumbItemList(current_web_document);"
>
\n
breadcrumb_list python: current_web_section.getBreadcrumbItemList(current_web_document);"
>
\n
<ul
class=
"breadcrumb"
>
\n
<ul
class=
"breadcrumb"
>
\n
<li
tal:repeat=
"breadcrumb python:breadcrumb_list[:(is_web_section_default_document and -1 or None)]"
>
\n
<li
tal:repeat=
"breadcrumb python:breadcrumb_list[:(is_web_section_default_document and -1 or None)]"
>
\n
<a
href=
"#"
tal:attributes=
"href python:current_web_section.getPermanentURL(breadcrumb[1]);\n
<tal:block
tal:define=
"is_last repeat/breadcrumb/end"
>
\n
title python:breadcrumb[2];"
\n
<a
href=
"#"
\n
tal:attributes=
"href python:current_web_section.getPermanentURL(breadcrumb[1]);\n
title python:breadcrumb[2];\n
class python: test(is_last, \'last-breadcrumb\', \'breadcrumb\')"
\n
tal:content=
"python:breadcrumb[0]"
>
Title
</a>
\n
tal:content=
"python:breadcrumb[0]"
>
Title
</a>
\n
<tal:block
tal:condition=
"not: repeat/breadcrumb/end"
>
\n
<img
tal:condition=
"not: is_last"
\n
<img
class=
"breadcrumb_separator"
src=
"../km_img/crumb.png"
alt=
">"
\n
class=
"breadcrumb_separator"
\n
src=
"../km_img/crumb.png"
alt=
">"
\n
tal:attributes=
"src string:${portal_path}/km_img/crumb.png"
/>
\n
tal:attributes=
"src string:${portal_path}/km_img/crumb.png"
/>
\n
</tal:block>
\n
</tal:block>
\n
</li>
\n
</li>
\n
</ul>
\n
</ul>
\n
</tal:block>
\n
</tal:block>
]]>
</unicode>
</value>
]]>
</unicode>
</value>
</item>
</item>
...
@@ -86,7 +89,7 @@
...
@@ -86,7 +89,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
<value>
<string>
iso-8859-15
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewBrowseNavigationMenuWidget.xml
View file @
4dde4065
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<tal:block
tal:repeat=
"menu_item menu_item_list"
>
\n
<tal:block
tal:repeat=
"menu_item menu_item_list"
>
\n
\n
\n
<li
tal:define=
"sub_item_list menu_item/subsection"
\n
<li
tal:define=
"sub_item_list menu_item/subsection"
\n
tal:attributes=
"class python:\'menu_item_%s
\' % repeat[\'menu_item\'].index + \' \' + (sub_item_list and \'collapse-menu
\' or \'\')"
>
\n
tal:attributes=
"class python:\'menu_item_%s
collapse-menu\' % repeat[\'menu_item\'].index + \' \' + (sub_item_list and \'collapse-able
\' or \'\')"
>
\n
<a
tal:attributes=
"href menu_item/url"
>
\n
<a
tal:attributes=
"href menu_item/url"
>
\n
<tal:block
tal:replace=
"menu_item/compact_translated_title | menu_item/translated_title"
>
Menu
</tal:block>
\n
<tal:block
tal:replace=
"menu_item/compact_translated_title | menu_item/translated_title"
>
Menu
</tal:block>
\n
</a>
\n
</a>
\n
...
...
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/km.css.xml
View file @
4dde4065
...
@@ -252,11 +252,14 @@ div#wrapper_headline div.header_title {\n
...
@@ -252,11 +252,14 @@ div#wrapper_headline div.header_title {\n
height:100%;\n
height:100%;\n
}\n
}\n
\n
\n
#menu ul li.collapse-
menu
{\n
#menu ul li.collapse-
able
{\n
background: url(km_img/collapse-down-arrow.gif) no-repeat transparent right 10px;\n
background: url(km_img/collapse-down-arrow.gif) no-repeat transparent right 10px;\n
padding-right: 0px;\n
padding-right: 0px;\n
}\n
}\n
\n
\n
\n
\n
\n
#menu ul li.non-collapse-menu{\n
#menu ul li.non-collapse-menu{\n
background: none;\n
background: none;\n
padding-right: 0px;\n
padding-right: 0px;\n
...
...
bt5/erp5_km/bt/revision
View file @
4dde4065
1857
1858
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment