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/entry.html.twig | |
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/entry.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index 86588a7b..273a9b57 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | |||
@@ -268,16 +268,7 @@ | |||
268 | </li> | 268 | </li> |
269 | {% endif %} | 269 | {% endif %} |
270 | </ul> | 270 | </ul> |
271 | <ul class="tags"> | 271 | {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags, 'withRemove': true} only %} |
272 | {% for tag in entry.tags %} | ||
273 | <li class="chip"> | ||
274 | <a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a> | ||
275 | <a href="{{ path('remove_tag', { 'entry': entry.id, 'tag': tag.id }) }}" onclick="return confirm('{{ 'entry.confirm.delete_tag'|trans|escape('js') }}')"> | ||
276 | <i class="material-icons vertical-align-middle">delete</i> | ||
277 | </a> | ||
278 | </li> | ||
279 | {% endfor %} | ||
280 | </ul> | ||
281 | </div> | 272 | </div> |
282 | 273 | ||
283 | <div class="input-field nav-panel-add-tag" style="display: none"> | 274 | <div class="input-field nav-panel-add-tag" style="display: none"> |