diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-23 21:15:39 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-23 21:15:39 +0200 |
commit | d9afe1abd7baa5dcda362bb247f5bdecafe30048 (patch) | |
tree | 7f196ec5f7693499e25d68aba95fbd1a1ef8f0c8 /tpl/home.twig | |
parent | 70c39d16185698c0cc937cc4104694cd97e36d33 (diff) | |
parent | c2618ca7917b6566d3e0406a2ccbe6c936327837 (diff) | |
download | wallabag-d9afe1abd7baa5dcda362bb247f5bdecafe30048.tar.gz wallabag-d9afe1abd7baa5dcda362bb247f5bdecafe30048.tar.zst wallabag-d9afe1abd7baa5dcda362bb247f5bdecafe30048.zip |
Merge branch 'dev' of github.com:inthepoche/poche into dev
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 58586d7a..21910ae8 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|raw }}</a></h2> | 16 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</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>{% trans "toggle mark as read" %}</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>{% trans "toggle favorite" %}</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>{% trans "delete" %}</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> |