diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-06-23 23:13:25 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2016-06-23 23:13:25 +0200 |
commit | a15022db96fb031f7a9bccbdcc9420a8ca94174c (patch) | |
tree | 40d8f584d796086b95f880da26609fecf6cecf53 /src/Wallabag | |
parent | 91826e3ca2605d8280db16e62ebd0f2d79f4216c (diff) | |
download | wallabag-a15022db96fb031f7a9bccbdcc9420a8ca94174c.tar.gz wallabag-a15022db96fb031f7a9bccbdcc9420a8ca94174c.tar.zst wallabag-a15022db96fb031f7a9bccbdcc9420a8ca94174c.zip |
minor ui fixes
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 7 |
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 }}…</p> | 78 | <p>{{ entry.content|striptags|slice(0, 300)|raw }}…</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 | ||