set doctype/session on first line of result, title on next line
This commit is contained in:
parent
2d7b0872bb
commit
eb8b6999ef
|
@ -35,9 +35,10 @@
|
|||
<div id="results">
|
||||
<ul>
|
||||
<tal:entry tal:repeat="doc doc_batch">
|
||||
<li tal:define="oddrow repeat/doc/odd;" tal:attributes="class python: oddrow and 'odd' or 'even'"><div>
|
||||
<h4><a href="#" tal:attributes="href doc/getURL" tal:content="doc/Title">Véronique Salvi</a></h4>
|
||||
<p class="authors" tal:content="python: doc.getObject().get_authors_as_string()" tal:condition="python: doc.getObject().authors" />
|
||||
<li tal:define="oddrow repeat/doc/odd; object python: doc.getObject()" tal:attributes="class python: oddrow and 'odd' or 'even'"><div>
|
||||
<h4><a href="#" tal:attributes="href doc/getURL" tal:content="python: object.doctype">Véronique Salvi</a> / <span class="session" tal:content="python: object.session"/></h4>
|
||||
<p class="intitule" tal:content="doc/Title"/>
|
||||
<p class="authors" tal:content="python: object.get_authors_as_string()" tal:condition="python: object.authors" />
|
||||
</div></li>
|
||||
</tal:entry>
|
||||
</ul>
|
||||
|
|
Reference in New Issue