]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
fix tag view in material theme 1366/head
authorNicolas Lœuillet <nicolas@loeuillet.org>
Tue, 18 Aug 2015 16:18:35 +0000 (18:18 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Tue, 18 Aug 2015 16:18:35 +0000 (18:18 +0200)
src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig [new file with mode: 0644]

diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig
new file mode 100644 (file)
index 0000000..9f92c17
--- /dev/null
@@ -0,0 +1,15 @@
+{% extends "WallabagCoreBundle::layout.html.twig" %}
+
+{% block title "Tags" %}
+
+{% block content %}
+    <div class="results clearfix">
+        <div class="nb-results left">{% transchoice tags.count %}{0} There is no tag.|{1} There is one tag.|]1,Inf[ There are %count% tags.{% endtranschoice %}</div>
+    </div>
+    <br />
+    <ul class="row data">
+    {% for tag in tags %}
+        <li id="tag-{{ tag.id|e }}" class="col l4 m6 s12">{{tag.label}}</li>
+    {% endfor %}
+    </ul>
+{% endblock %}