diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-10-30 21:43:15 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-10-30 21:43:15 +0100 |
commit | 052bdfc17e9edf22e2335630e137bf34787bf302 (patch) | |
tree | 96d226cc6242dff08e39fc65966cdcd89f62293d /themes/baggy/home.twig | |
parent | 476b8902bb8cf9df910c6069383ccee740f93ab1 (diff) | |
parent | c9e6fec4bf47042c2693c5e163b2a0cbd878d54d (diff) | |
download | wallabag-052bdfc17e9edf22e2335630e137bf34787bf302.tar.gz wallabag-052bdfc17e9edf22e2335630e137bf34787bf302.tar.zst wallabag-052bdfc17e9edf22e2335630e137bf34787bf302.zip |
Merge pull request #897 from jsit/displaymode
Fixing display mode switching in Baggy theme (issue #896)
Diffstat (limited to 'themes/baggy/home.twig')
-rwxr-xr-x | themes/baggy/home.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index a870fc21..03de6b9b 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig | |||
@@ -38,7 +38,7 @@ | |||
38 | {% endblock %} | 38 | {% endblock %} |
39 | <div id="list-entries" class="list-entries"> | 39 | <div id="list-entries" class="list-entries"> |
40 | {% for entry in entries %} | 40 | {% for entry in entries %} |
41 | <div id="entry-{{ entry.id|e }}" class="entrie"{% if listmode %} style="width:100%; margin-left:0;"{% endif %}> | 41 | <div id="entry-{{ entry.id|e }}" class="entrie"> |
42 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> | 42 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> |
43 | {% if entry.content| getReadingTime > 0 %} | 43 | {% if entry.content| getReadingTime > 0 %} |
44 | <div class="estimatedTime"><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="tool reading-time"><span>{% trans "estimated reading time :" %} {{ entry.content| getReadingTime }} min</span></div> | 44 | <div class="estimatedTime"><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="tool reading-time"><span>{% trans "estimated reading time :" %} {{ entry.content| getReadingTime }} min</span></div> |