Annotation of basket/zpt/BasketFolder_template_standard.zpt, revision 1.6

1.1       dwinter     1: <html metal:use-macro="here/main_template/macros/page">
                      2: <head>
                      3: <title>Default</title>
1.3       dwinter     4: <style metal:fill-slot="additionalStyles" type="text/css">
                      5: td.vario { background-color:#AC1D15 } 
                      6: </style>
1.1       dwinter     7: </head>
                      8: <body>
                      9: 
                     10: <!-- span = bodytext -->
                     11: <span metal:fill-slot="body" tal:omit-tag="">
                     12: <tal:block tal:define="authorized python:here.isAuthorized()">
                     13: 
                     14: <!-- user is logged in -->
1.2       dwinter    15:    
1.1       dwinter    16:    <!-- id selected: manage set -->
1.4       dwinter    17:    
                     18:    
1.1       dwinter    19: </tal:block>
1.4       dwinter    20:    <h2 tal:define="mode python: options.get('mode', None)"><span 
                     21:        tal:condition="python: mode == 'private'" 
                     22:        tal:replace="python:'My '" /><span 
1.5       dwinter    23:        tal:condition="python: mode == 'open_intern'" 
1.4       dwinter    24:        tal:replace="python:'User '" /><span 
                     25:        tal:condition="python: mode == 'open'" 
                     26:        tal:replace="python:'Public '" />Sets
1.5       dwinter    27:    <span tal:condition="python:here.isAuthorized('edit') and mode != 'open_intern'">
1.4       dwinter    28:        <a class="editLink" tal:attributes="
                     29:            href python:'manageBasketFolder?mode=%s'%mode"> | Edit overview</a></span></h2>
1.1       dwinter    30:    
1.4       dwinter    31:    <tal:block tal:repeat="item python:here.getSets(mode=options.get('mode', None))">
                     32:        <hr>
                     33:        <a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/>
                     34:        <div class="TOC" tal:content="structure item/shortDescription"/>
1.1       dwinter    35:    
1.4       dwinter    36:    </tal:block>
1.1       dwinter    37:    
                     38: </span>
                     39: </body>
                     40: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>