aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-07-01 13:59:30 +0200
committerThomas Citharel <tcit@tcit.fr>2016-07-01 13:59:30 +0200
commit1d4d9aaf2971e5b4d00a28f935c815e88bcf1487 (patch)
tree2f7f541c4af9882d60534742290ab4e1024a534a /src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
parent9dbd3e93028630ca808042387e88304020c80c73 (diff)
downloadwallabag-1d4d9aaf2971e5b4d00a28f935c815e88bcf1487.tar.gz
wallabag-1d4d9aaf2971e5b4d00a28f935c815e88bcf1487.tar.zst
wallabag-1d4d9aaf2971e5b4d00a28f935c815e88bcf1487.zip
Bring tags on entries view to baggy
Also, a couple of UI improvement and CSS fixing
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
index 8636e3be..92eecb9b 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
@@ -28,7 +28,17 @@
28 </ul> 28 </ul>
29 {% if entry.previewPicture is null %} 29 {% if entry.previewPicture is null %}
30 <p>{{ entry.content|striptags|slice(0, 300) }}&hellip;</p> 30 <p>{{ entry.content|striptags|slice(0, 300) }}&hellip;</p>
31 <ul class="card-entry-tags">
32 {% for tag in entry.tags %}
33 <li>{{ tag.label }}</li>
34 {% endfor %}
35 </ul>
31 {% else %} 36 {% else %}
37 <ul class="card-entry-labels">
38 {% for tag in entry.tags | slice(0, 3) %}
39 <li>{{ tag.label }}</li>
40 {% endfor %}
41 </ul>
32 <img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|raw }}" /> 42 <img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|raw }}" />
33 {% endif %} 43 {% endif %}
34 </div> 44 </div>