handle author_is_government
This commit is contained in:
parent
bd1fffb535
commit
ac8d07355a
|
@ -46,7 +46,7 @@
|
|||
<li tal:define="oddrow repeat/item/odd; object python: item.getObject()" tal:attributes="class python: oddrow and 'odd' or 'even'"><div>
|
||||
<h4><a href="#" tal:attributes="href item/getURL" tal:content="python: object.reftitle">Véronique Salvi</a></h4>
|
||||
<p class="intitule" tal:content="item/Title"/>
|
||||
<p class="authors" tal:condition="python: object.authors">Auteur(s) : <span tal:replace="python: object.get_authors_as_string()"/></p>
|
||||
<p class="authors" tal:condition="python: object.authors or object.author_is_government">Auteur(s) : <span tal:replace="python: object.get_authors_as_string()" /></p>
|
||||
</div></li>
|
||||
</tal:entry>
|
||||
</ul>
|
||||
|
@ -123,7 +123,7 @@
|
|||
<li tal:define="oddrow repeat/item/odd; object python: item.getObject()" tal:attributes="class python: oddrow and 'odd' or 'even'"><div>
|
||||
<h4><a href="#" tal:attributes="href item/getURL" tal:content="python: object.reftitle">Véronique Salvi</a></h4>
|
||||
<p class="intitule" tal:content="item/Title"/>
|
||||
<p class="authors" tal:condition="python: object.authors">Auteur(s) : <span tal:replace="python: object.get_authors_as_string()" tal:condition="python: object.authors" /></p>
|
||||
<p class="authors" tal:condition="python: object.authors or object.author_is_government">Auteur(s) : <span tal:replace="python: object.get_authors_as_string()" /></p>
|
||||
</div></li>
|
||||
</tal:entry>
|
||||
</ul>
|
||||
|
|
Reference in New Issue