From: Nicolas LÅ“uillet Date: Wed, 3 Jan 2018 19:37:57 +0000 (+0100) Subject: Merge pull request #3536 from wallabag/tag-link-3534 X-Git-Tag: 2.3.2~4 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=410216f435bd9594f37e861d0a0fea8205956a67;hp=2679eb9d844379b65cd126975ef2d3625d39081f;p=github%2Fwallabag%2Fwallabag.git Merge pull request #3536 from wallabag/tag-link-3534 Fix broken link to remove tags from entries --- 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 ab7295d5..1c898f0f 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 @@ -9,7 +9,7 @@
{{ entry.domainName|removeWww }} {% if withTags is defined %} - {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags | slice(0, 3), 'listClass': ' hide-on-med-and-down'} only %} + {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags | slice(0, 3), 'entryId': entry.id, 'listClass': ' hide-on-med-and-down'} only %} {% endif %}
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 144a105e..1317b129 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 @@ -4,7 +4,7 @@
  • {{ tag.label }} {% if withRemove %} - + delete {% endif %} 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 bebe29a2..54066e95 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,7 +268,7 @@
  • {% endif %} - {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags, 'withRemove': true} only %} + {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags, 'entryId': entry.id, 'withRemove': true} only %}