Skip to content

Commit

Permalink
Merge branch 'master' into dev-upgrade-notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Bigga committed May 13, 2022
2 parents 004869e + 645de12 commit cde1420
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions Resources/Private/Templates/Collection/List.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,20 @@ <h2>
</span>
</f:if>
</h2>
<div class="tx-dlf-collection-thumbnail">
<f:if condition="{item.collection.thumbnail}">
<f:image image="{item.collection.thumbnail}" alt="{f:translate(key: 'thumbnail')} {item.collection.label}" title="{item.collection.label}" maxWidth="250" />
</f:if>
</div>
<div class="tx-dlf-collection-description">
<f:format.html>{item.collection.description}</f:format.html>
</div>
<f:if condition="{item.collection.thumbnail}">
<div class="tx-dlf-collection-thumbnail">
<f:link.action action="show"
arguments="{collection : item.collection}"
pageUid="{pageUid}">
<f:image image="{item.collection.thumbnail}" alt="{f:translate(key: 'thumbnail')} {item.collection.label}" title="{item.collection.label}" maxWidth="250" />
</f:link.action>
</div>
</f:if>
<f:if condition="{item.collection.description}">
<div class="tx-dlf-collection-description">
<f:format.html>{item.collection.description}</f:format.html>
</div>
</f:if>
<p class="tx-dlf-collection-counts">
({item.info.titles -> f:count()}
<f:translate key="{f:if(condition:'{item.info.titles -> f:count()} > 1', then: 'titles', else: 'title')}" />
Expand Down

0 comments on commit cde1420

Please sign in to comment.