]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
Bring tags on entries view to baggy
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / baggy / Entry / entries.html.twig
index 8636e3be11b029ac8146225b66f08e7e37529052..92eecb9be2053fab0ac7a4d0ddf5289a9386e2ac 100644 (file)
             </ul>
             {% if entry.previewPicture is null %}
                 <p>{{ entry.content|striptags|slice(0, 300) }}&hellip;</p>
+                <ul class="card-entry-tags">
+                    {% for tag in entry.tags %}
+                        <li>{{ tag.label }}</li>
+                    {% endfor %}
+                </ul>
             {% else %}
+                <ul class="card-entry-labels">
+                {% for tag in entry.tags | slice(0, 3) %}
+                    <li>{{ tag.label }}</li>
+                {% endfor %}
+                </ul>
                 <img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|raw }}" />
             {% endif %}
         </div>