aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
index d245c8fd..d1cadea9 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
@@ -40,7 +40,7 @@
40 <i class="card-title grey-text text-darken-4 activator material-icons right">more_vert</i> 40 <i class="card-title grey-text text-darken-4 activator material-icons right">more_vert</i>
41 {% endif %} 41 {% endif %}
42 42
43 <span class="card-title"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|striptags|slice(0, 42)|raw }}</a></span> 43 <span class="card-title"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|striptags }}">{{ entry.title|striptags|raw }}</a></span>
44 44
45 <div class="estimatedTime grey-text"> 45 <div class="estimatedTime grey-text">
46 <span class="tool reading-time"> 46 <span class="tool reading-time">
@@ -78,13 +78,10 @@
78 <p>{{ entry.content|striptags|slice(0, 300)|raw }}&hellip;</p> 78 <p>{{ entry.content|striptags|slice(0, 300)|raw }}&hellip;</p>
79 79
80 <ul class="card-entry-labels-hidden"> 80 <ul class="card-entry-labels-hidden">
81 {% for tag in entry.tags | slice(0, 2) %} 81 {% for tag in entry.tags %}
82 <li>{{ tag.label }}</li> 82 <li>{{ tag.label }}</li>
83 {% endfor %} 83 {% endfor %}
84 </ul> 84 </ul>
85 {% if entry.tags | length > 2 %}
86 {{ 'entry.list.number_of_tags'|transchoice(entry.tags | length - 2) }}
87 {% endif %}
88 </div> 85 </div>
89 {% endif %} 86 {% endif %}
90 87