2022-03-15 12:54:04 +00:00
|
|
|
<div class="card entry-card{% if currentRoute in routes and entry.isArchived %} archived{% endif %}">
|
2016-11-08 21:17:46 +00:00
|
|
|
<div class="card-body">
|
|
|
|
<div class="card-fullimage">
|
|
|
|
<ul class="card-entry-labels">
|
2022-05-03 21:28:20 +00:00
|
|
|
{% for tag in entry.tags|slice(0, 3) %}
|
2020-12-31 01:47:56 +00:00
|
|
|
<li title="{{ tag.label }}"><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li>
|
2016-11-08 21:17:46 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2023-06-13 13:02:48 +00:00
|
|
|
{% if app.user.config.displayThumbnails %}
|
2024-03-23 14:34:02 +00:00
|
|
|
{% if is_granted('VIEW', entry) %}
|
|
|
|
<a href="{{ path('view', {'id': entry.id}) }}">
|
|
|
|
<span class="preview" style="background-image: url({{ entry.previewPicture }})"></span>
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<span class="preview" style="background-image: url({{ entry.previewPicture }})"></span>
|
|
|
|
{% endif %}
|
2023-06-13 13:02:48 +00:00
|
|
|
{% endif %}
|
2016-11-08 21:17:46 +00:00
|
|
|
</div>
|
2024-02-18 23:03:14 +00:00
|
|
|
{% include "Entry/Card/_content.html.twig" with {'entry': entry} only %}
|
2016-11-08 21:17:46 +00:00
|
|
|
</div>
|
|
|
|
|
2024-02-18 23:03:14 +00:00
|
|
|
{% include "Entry/_card_actions.html.twig" with {'entry': entry} only %}
|
2016-11-08 21:17:46 +00:00
|
|
|
</div>
|