mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 10:23:17 +00:00
PHRAS-1078 - toggle collection name with mini logo
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user