Move templates

This commit is contained in:
Yassine Guedidi
2024-02-19 00:03:14 +01:00
parent 3c1a183e2d
commit 664b4baa3e
90 changed files with 119 additions and 118 deletions

View File

@ -0,0 +1,19 @@
<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>
{% if app.user.config.displayThumbnails %}
<a href="{{ path('view', {'id': entry.id}) }}">
<span class="preview" style="background-image: url({{ entry.previewPicture }})"></span>
</a>
{% endif %}
</div>
{% include "Entry/Card/_content.html.twig" with {'entry': entry} only %}
</div>
{% include "Entry/_card_actions.html.twig" with {'entry': entry} only %}
</div>