diff options
author | NumEricR <eric.github@gmail.com> | 2013-08-23 18:10:42 +0200 |
---|---|---|
committer | NumEricR <eric.github@gmail.com> | 2013-08-23 18:10:42 +0200 |
commit | 29773c9729038510728738908b58fd8a86ef943b (patch) | |
tree | cd65d2d2776631172328289eef77ecc9f722a467 /tpl/home.twig | |
parent | fd218280804e2f81e248a3a30f0ad26e7573f95c (diff) | |
download | wallabag-29773c9729038510728738908b58fd8a86ef943b.tar.gz wallabag-29773c9729038510728738908b58fd8a86ef943b.tar.zst wallabag-29773c9729038510728738908b58fd8a86ef943b.zip |
Fix HTML code of tools lists
Diffstat (limited to 'tpl/home.twig')
-rw-r--r-- | tpl/home.twig | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tpl/home.twig b/tpl/home.twig index 03f9f70d..8ef6adc0 100644 --- a/tpl/home.twig +++ b/tpl/home.twig | |||
@@ -15,12 +15,10 @@ | |||
15 | <div id="entry-{{ entry.id|e }}" class="entrie"> | 15 | <div id="entry-{{ entry.id|e }}" class="entrie"> |
16 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|e }}</a></h2> | 16 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|e }}</a></h2> |
17 | <ul class="tools"> | 17 | <ul class="tools"> |
18 | <li> | 18 | <li><a title="{% trans "toggle mark as read" %}" class="tool archive {% if entry.is_read == 0 %}archive-off{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span></span></a></li> |
19 | <a title="{% trans "toggle mark as read" %}" class="tool archive {% if entry.is_read == 0 %}archive-off{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span></span></a></li> | 19 | <li><a title="{% trans "toggle favorite" %}" class="tool fav {% if entry.is_fav == 0 %}fav-off{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span></span></a></li> |
20 | <li><a title="{% trans "toggle favorite" %}" class="tool fav {% if entry.is_fav == 0 %}fav-off{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span></span></a></li> | 20 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span></span></a></li> |
21 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span></span></a></li> | 21 | <li class="reading-time">{{ entry.content| getReadingTime }} min</li> |
22 | <li class="reading-time">{{ entry.content| getReadingTime }} min</li> | ||
23 | </li> | ||
24 | </ul> | 22 | </ul> |
25 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> | 23 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> |
26 | <p class="vieworiginal txtright small"><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}">{{ entry.url | e | getDomain }}</a></p> | 24 | <p class="vieworiginal txtright small"><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}">{{ entry.url | e | getDomain }}</a></p> |