Changeset 3628 in products for quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_mobile.pt
- Timestamp:
- Feb 13, 2013 10:47:21 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_mobile.pt
r3491 r3628 2 2 children options/children | nothing; 3 3 plonefour view/is_plone_four" 4 i18n:domain="plone"> 5 6 <metal:main define-macro="sections_main"> 7 <tal:navitem repeat="node children"> 8 <tal:option tal:define="show_children node/show_children; 9 children node/children; 10 item_url node/getURL; 11 is_current node/currentItem;"> 12 <option tal:attributes="value python:item_url; 13 title node/Description;" 14 tal:condition="not:is_current" 15 ><span tal:repeat="l python:range(level-2)"> </span><span tal:condition="python:level>1">− </span><span tal:content="node/Title">Selected Item Title</span></option> 16 <option tal:attributes="value python:item_url; 17 title node/Description;" 18 selected="selected" 19 tal:condition="is_current" 20 ><span tal:repeat="l python:range(level-2)"> </span><span tal:condition="python:level>1">− </span><span tal:content="node/Title">Selected Item Title</span></option> 21 <option tal:condition="python: len(children) > 0 and show_children" tal:replace="structure python:view.mobile(children=children, level=level+1)">SubMenu</option> 22 </tal:option> 23 </tal:navitem> 24 </metal:main> 25 </tal:master> 4 i18n:domain="plone" 5 ><metal:main define-macro="sections_main" 6 ><tal:navitem repeat="node children" 7 ><tal:option tal:define="show_children node/show_children; 8 children node/children; 9 item_url node/getURL; 10 is_current node/currentItem;" 11 ><option tal:attributes="value python:item_url; 12 title node/Description;" 13 tal:condition="not:is_current" 14 ><tal:span tal:repeat="l python:range(level-2)" 15 > </tal:span 16 ><tal:span tal:condition="python:level>1" 17 >− </tal:span 18 ><tal:span tal:content="node/Title" 19 >Selected Item Title</tal:span 20 ></option 21 ><option tal:attributes="value python:item_url; 22 title node/Description;" 23 selected="selected" 24 tal:condition="is_current" 25 ><tal:span tal:repeat="l python:range(level-2)" 26 > </tal:span 27 ><tal:span tal:condition="python:level>1" 28 >− </tal:span 29 ><tal:span tal:content="node/Title" 30 >Selected Item Title</tal:span 31 ></option 32 ><option tal:condition="python: len(children) > 0 and show_children" 33 tal:replace="structure python:view.mobile(children=children, level=level+1)" 34 >SubMenu</option 35 ></tal:option 36 ></tal:navitem 37 ></metal:main 38 ></tal:master>
Note: See TracChangeset
for help on using the changeset viewer.