mirror of
https://github.com/wallabag/wallabag.git
synced 2024-05-28 22:18:05 +00:00
f4a1401de0
Fixes #4466 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
18 lines
839 B
Twig
18 lines
839 B
Twig
<div class="card{% if currentRoute == 'tag_entries' and entry.isArchived %} archived{% endif %}">
|
|
<div class="card-body">
|
|
<div class="card-fullimage">
|
|
<ul class="card-entry-labels">
|
|
{% for tag in entry.tags | slice(0, 3) %}
|
|
<li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
<a href="{{ path('view', { 'id': entry.id }) }}">
|
|
<span class="preview" style="background-image: url({{ entry.previewPicture }})"></span>
|
|
</a>
|
|
</div>
|
|
{% include "@WallabagCore/themes/material/Entry/Card/_content.html.twig" with {'entry': entry} only %}
|
|
</div>
|
|
|
|
{% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %}
|
|
</div>
|