Annotation of OSAS/OSA_system/zpt/searchResult_bib.zpt, revision 1.4
1.1 casties 1: <!-- start bib result -->
2: <tal:block tal:define="res python:here.REQUEST.SESSION['result']">
1.3 casties 3: <p><b>Bibliographic item:</b> <span tal:replace="python:res.content['type']"/>
4: </p>
5: <!-- elements block -->
6: <table border="0">
7: <tal:block tal:repeat="bibres python:res.getContentList()">
8: <tr>
9: <td><b tal:content="python:bibres[0]+':'"/></td>
1.4 ! casties 10: <td><span tal:condition="python:(res.hitTag==bibres[0])and(not bibres[1].startswith('http://'))" style="color:red" tal:content="python:bibres[1]"/><span tal:condition="python:(res.hitTag!=bibres[0])and(not bibres[1].startswith('http://'))" tal:content="python:bibres[1]"/><a tal:condition="python:bibres[1].startswith('http://')" tal:attributes="href python:bibres[1]" tal:content="python:bibres[1]" target="_blank"/> </td>
1.3 casties 11: </tr>
12: </tal:block>
13: </table>
14: <!-- elements block -->
15: <p><b>Status:</b> <span tal:condition="python:res.status=='archive'" style="color:red" tal:content="python:res.status"/><span tal:condition="not:python:res.status=='archive'" tal:content="python:res.status"/></p>
16: <ul>
17: <tal:block tal:repeat="url python:res.urls">
18: <li><a tal:content="python:url[1]" tal:attributes="href python:url[0]" target="_blank"/></li>
1.1 casties 19: </tal:block>
1.3 casties 20: </ul>
1.2 casties 21: <div align="right"><b>file:</b> <span tal:replace="python:res.file"/></div>
1.1 casties 22: </tal:block>
23: <!-- end bib result -->
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>