aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2018-10-13 12:00:00 +0000
committerGitHub <noreply@github.com>2018-10-13 12:00:00 +0000
commitba69c04c2708cd91f58da74e27184479ac0fe616 (patch)
treec573e14ab7556909091897f56deb726f28e34cf2 /src
parent78ef840edaf4f27093dc58fea3900af3001eae64 (diff)
parentd73bfdbddb9f651f6f1a4b58e60d8f65a7d55343 (diff)
downloadwallabag-ba69c04c2708cd91f58da74e27184479ac0fe616.tar.gz
wallabag-ba69c04c2708cd91f58da74e27184479ac0fe616.tar.zst
wallabag-ba69c04c2708cd91f58da74e27184479ac0fe616.zip
Merge pull request #3743 from burkemw3/patch-1
Show tags on non-image gallery preview card
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig
index 8e6bbae0..4fd4debd 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig
@@ -1,5 +1,12 @@
1<div class="card"> 1<div class="card">
2 <div class="card-body"> 2 <div class="card-body">
3 <div class="card-image waves-effect waves-block waves-light">
4 <ul class="card-entry-labels">
5 {% for tag in entry.tags | slice(0, 3) %}
6 <li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li>
7 {% endfor %}
8 </ul>
9 </div>
3 {% include "@WallabagCore/themes/material/Entry/Card/_content.html.twig" with {'entry': entry} only %} 10 {% include "@WallabagCore/themes/material/Entry/Card/_content.html.twig" with {'entry': entry} only %}
4 </div> 11 </div>
5 12