PHRAS-1078 - toggle collection name with mini logo

This commit is contained in:
Florian BLOUET
2016-05-23 16:09:54 +02:00
parent f489043280
commit c11f319db2

View File

@@ -53,8 +53,12 @@
<table class="bottom actions" style="width:100%; table-layout:fixed;">
<tr>
<td style="text-align:left;text-overflow:ellipsis;overflow:hidden;">
{% set collectionLogo = collection_logo(record.baseId) %}
{% if collectionLogo is empty %}
{{ record.collectionName }}
{{ collection_logo(record.baseId) }}
{% else %}
{{ collectionLogo|raw }}
{% endif %}
</td>
{% set l_width = 30 %}