aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2018-02-24 21:52:56 +0100
committerGitHub <noreply@github.com>2018-02-24 21:52:56 +0100
commit228d317204810db32c858fe3a1bd0b82e0960707 (patch)
tree99d0cba7238c4241a5c39ea625965598fefac901 /src/Wallabag
parentf24e9bfab0f5d8b1bbac11e3ba731bd81157ee51 (diff)
parentcc09434ea470a4de2ed37e59f30244736826dc36 (diff)
downloadwallabag-228d317204810db32c858fe3a1bd0b82e0960707.tar.gz
wallabag-228d317204810db32c858fe3a1bd0b82e0960707.tar.zst
wallabag-228d317204810db32c858fe3a1bd0b82e0960707.zip
Merge pull request #3573 from shulard/fix/unknown-withremove-variable
Fix error when withRemove variable is not defined.
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_tags.html.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_tags.html.twig
index 1317b129..73998b58 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_tags.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_tags.html.twig
@@ -3,7 +3,7 @@
3 {% for tag in tags %} 3 {% for tag in tags %}
4 <li class="chip"> 4 <li class="chip">
5 <a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a> 5 <a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a>
6 {% if withRemove %} 6 {% if withRemove is defined and withRemove == true %}
7 <a href="{{ path('remove_tag', { 'entry': entryId, 'tag': tag.id }) }}" onclick="return confirm('{{ 'entry.confirm.delete_tag'|trans|escape('js') }}')"> 7 <a href="{{ path('remove_tag', { 'entry': entryId, 'tag': tag.id }) }}" onclick="return confirm('{{ 'entry.confirm.delete_tag'|trans|escape('js') }}')">
8 <i class="material-icons vertical-align-middle">delete</i> 8 <i class="material-icons vertical-align-middle">delete</i>
9 </a> 9 </a>