[Happydoc-checkins] CVS: HappyDoc3/happydoclib/docset/docset_TAL/templates/default toc.pt,1.3,1.4
Brought to you by:
doughellmann,
krlosaqp
From: Doug H. <dou...@us...> - 2003-03-18 17:23:47
|
Update of /cvsroot/happydoc/HappyDoc3/happydoclib/docset/docset_TAL/templates/default In directory sc8-pr-cvs1:/tmp/cvs-serv13208/happydoclib/docset/docset_TAL/templates/default Modified Files: toc.pt Log Message: Use the new macro for producing a descriptive list in a table format. Index: toc.pt =================================================================== RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/docset/docset_TAL/templates/default/toc.pt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** toc.pt 16 Mar 2003 23:44:44 -0000 1.3 --- toc.pt 18 Mar 2003 17:23:40 -0000 1.4 *************** *** 28,89 **** </tal:block> ! <tal:block tal:condition="other_documentation|nothing"> ! <h2>Other Documentation</h2> - <table class="descriptive_list"> - - <tr tal:repeat="subnode other_documentation"> - <td><a href="" - tal:attributes="href python: docset.getHREFToNode(node, subnode)" - tal:content="subnode/getName"> - Plain Text File Name - </a> - </td> - <td tal:content="structure subnode/getOneLiner"> - One line description - </td> - </tr> - - </table> </tal:block> ! <tal:block tal:condition="python_files|nothing"> ! <h2>Python Files</h2> ! ! <table class="descriptive_list"> ! ! <tr tal:repeat="subnode python_files"> ! <td><a href="" ! tal:attributes="href python: docset.getHREFToNode(node, subnode)" ! tal:content="subnode/getName"> ! Python File Name ! </a> ! </td> ! <td tal:content="structure subnode/getOneLiner"> ! One line description ! </td> ! </tr> ! ! </table> </tal:block> ! ! <tal:block tal:condition="subdirectories|nothing"> ! <h2>Subdirectories</h2> ! ! <table class="descriptive_list"> ! ! <tr tal:repeat="subnode subdirectories"> ! <td><a href="" ! tal:attributes="href python: docset.getHREFToNode(node, subnode)" ! tal:content="subnode/getName"> ! Directory Name ! </a> ! </td> ! <td tal:content="structure subnode/getOneLiner"> ! One line description ! </td> ! </tr> ! ! </table> </tal:block> --- 28,56 ---- </tal:block> ! <tal:block tal:condition="other_documentation|nothing" ! tal:define="subnodes other_documentation" ! > ! ! <div ! metal:use-macro="templates/python_macros.pt/macros/subnode_list"> ! <h2 metal:fill-slot="title_slot">Other Documentation</h2> ! </div> </tal:block> ! <tal:block tal:condition="python_files|nothing" ! tal:define="subnodes python_files"> ! <div ! metal:use-macro="templates/python_macros.pt/macros/subnode_list"> ! <h2 metal:fill-slot="title_slot">Python Files</h2> ! </div> </tal:block> ! ! <tal:block tal:condition="subdirectories|nothing" ! tal:define="subnodes subdirectories"> ! <div ! metal:use-macro="templates/python_macros.pt/macros/subnode_list"> ! <h2 metal:fill-slot="title_slot">Subdirectories</h2> ! </div> </tal:block> |