diff options
author | Simounet <contact@simounet.net> | 2017-12-21 17:10:46 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-12-26 09:02:00 +0100 |
commit | 49fb9e7cabef39c30579eee0301f1019a3251dcd (patch) | |
tree | 00ed7475050892e336e48f6dbda766b298daa191 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card | |
parent | a8541089be426b78c4bf48743e53e17af3ef432a (diff) | |
download | wallabag-49fb9e7cabef39c30579eee0301f1019a3251dcd.tar.gz wallabag-49fb9e7cabef39c30579eee0301f1019a3251dcd.tar.zst wallabag-49fb9e7cabef39c30579eee0301f1019a3251dcd.zip |
Card tags template shared
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig index 06dc0b6d..fc5bfc48 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig | |||
@@ -8,12 +8,8 @@ | |||
8 | 8 | ||
9 | <div class="{{ subClass|default('original grey-text') }}"> | 9 | <div class="{{ subClass|default('original grey-text') }}"> |
10 | <a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool grey-text">{{ entry.domainName|removeWww }}</a> | 10 | <a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool grey-text">{{ entry.domainName|removeWww }}</a> |
11 | {% if withTags %} | 11 | {% if withTags is defined %} |
12 | {% for tag in entry.tags | slice(0, 3) %} | 12 | {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags | slice(0, 3), 'listClass': ' hide-on-med-and-down'} only %} |
13 | <span class="chip hide-on-med-and-down"> | ||
14 | <a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a> | ||
15 | </span> | ||
16 | {% endfor %} | ||
17 | {% endif %} | 13 | {% endif %} |
18 | </div> | 14 | </div> |
19 | </div> | 15 | </div> |