File:  [Repository] / OSAS / OSA_system / zpt / searchResult_bib.zpt
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Tue Jul 13 18:56:34 2004 UTC (19 years, 11 months ago) by casties
Branches: MAIN
CVS tags: HEAD
urls in bib entries now with link

<!-- start bib result -->
<tal:block tal:define="res python:here.REQUEST.SESSION['result']">
<p><b>Bibliographic item:</b> <span tal:replace="python:res.content['type']"/>
</p>
<!-- elements block -->
<table border="0">
<tal:block tal:repeat="bibres python:res.getContentList()">
  <tr>
    <td><b tal:content="python:bibres[0]+':'"/></td>
    <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>
  </tr>
</tal:block>
</table>
<!-- elements block -->
<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>
<ul>
<tal:block tal:repeat="url python:res.urls">
<li><a tal:content="python:url[1]" tal:attributes="href python:url[0]" target="_blank"/></li>
</tal:block>
</ul>
<div align="right"><b>file:</b> <span tal:replace="python:res.file"/></div>
</tal:block>
<!-- end bib result -->

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