mirror of
https://github.com/wallabag/wallabag.git
synced 2024-05-05 10:58:45 +00:00
1d3935fbd3
As baggy theme was removed and material is the only remaining theme, we don't need a theme switched anymore. So: - move all `*.twig` files from the material theme folder to the root - remove useless translations
18 lines
831 B
Twig
18 lines
831 B
Twig
<div class="card entry-card{% if currentRoute in routes 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 title="{{ tag.label }}"><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/Entry/Card/_content.html.twig" with {'entry': entry} only %}
|
|
</div>
|
|
|
|
{% include "@WallabagCore/Entry/_card_actions.html.twig" with {'entry': entry} only %}
|
|
</div>
|