mirror of
https://github.com/moparisthebest/wallabag
synced 2024-12-17 21:22:15 -05:00
Merge pull request #517 from mariroz/dev
effect of block rebuilding on next page removed, issue #479
This commit is contained in:
commit
cf75bb31e9
@ -660,6 +660,7 @@ class Poche
|
|||||||
'entries' => '',
|
'entries' => '',
|
||||||
'page_links' => '',
|
'page_links' => '',
|
||||||
'nb_results' => '',
|
'nb_results' => '',
|
||||||
|
'listmode' => (isset($_COOKIE['listmode']) ? true : false),
|
||||||
);
|
);
|
||||||
|
|
||||||
//if id is given - we retrive entries by tag: id is tag id
|
//if id is given - we retrive entries by tag: id is tag id
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
<div class="list-entries">
|
<div class="list-entries">
|
||||||
{% for entry in entries %}
|
{% for entry in entries %}
|
||||||
<div id="entry-{{ entry.id|e }}" class="entrie">
|
<div id="entry-{{ entry.id|e }}" class="entrie"{% if listmode %} style="width:100%; margin-left:0;"{% endif %}>
|
||||||
<h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2>
|
<h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2>
|
||||||
{% if entry.content| getReadingTime > 0 %}
|
{% if entry.content| getReadingTime > 0 %}
|
||||||
<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>
|
<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>
|
||||||
|
Loading…
Reference in New Issue
Block a user