[zopeorg-checkins] CVS: Products/ZopeOrg-NV/skins/nzo - index_html.html:1.1

Sidnei da Silva sidnei at x3ng.com.br
Fri May 17 05:02:46 EDT 2002


Update of /cvs-zopeorg/Products/ZopeOrg-NV/skins/nzo
In directory cvs.zope.org:/tmp/cvs-serv21569

Added Files:
	index_html.html 
Log Message:
index_html from the zopeorg skin was doing a tal:replace="structure ..." instead of metal:use-macro. this was doubling the head and body tags.

=== Added File Products/ZopeOrg-NV/skins/nzo/index_html.html ===
<html metal:use-macro="here/main_template/macros/master">
<body> <div metal:fill-slot="main">
<span metal:use-macro="here/local_html/macros/body|default">Locally defined HTML</span>
        <table tal:condition="python: 'local_html' not in here.objectIds()"
               tal:define="raw_items python: here.contentValues( filter={'Subject': []
                                            , 'Type': [ 'Folder'
                                                      , 'Document'
                                                      , 'Link'
                                                      , 'Topic'
                                                      ] });
                        sort_items python: raw_items.sort(lambda a, b: cmp(a.getId(), b.getId()) );
                        items python: here.ZPT_skip_unauthorized( raw_items )">
            <tr tal:repeat="item items">
                <td colspan="2"><a href="item_url" 
                    tal:attributes="href item/absolute_url" tal:content="item/title_or_id" class="bTitle">Title</a>
                <br><span tal:condition="exists: item/Description"
                        tal:content="item/Description">Description</span>
                </td>
            </tr>
	</table>
</div>
</body>
</html>







More information about the zopeorg-checkins mailing list