diff options
Diffstat (limited to 'themes/default/home.twig')
-rw-r--r-- | themes/default/home.twig | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/themes/default/home.twig b/themes/default/home.twig index cbe8c62f..165fecc6 100644 --- a/themes/default/home.twig +++ b/themes/default/home.twig | |||
@@ -14,12 +14,16 @@ | |||
14 | {% block precontent %} | 14 | {% block precontent %} |
15 | {% if entries|length > 1 %} | 15 | {% if entries|length > 1 %} |
16 | <ul id="sort"> | 16 | <ul id="sort"> |
17 | <li><a href="./?sort=ia&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li> | 17 | <li><a href="./?sort=ia&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li> |
18 | <li><a href="./?sort=ta&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li> | 18 | <li><a href="./?sort=ta&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li> |
19 | </ul> | 19 | </ul> |
20 | {% endif %} | 20 | {% endif %} |
21 | {% endblock %} | 21 | {% endblock %} |
22 | {% block content %} | 22 | {% block content %} |
23 | {% if tag %} | ||
24 | <h3>{% trans "Tag" %}: <b>{{ tag.value }}</b></h3> | ||
25 | {% endif %} | ||
26 | |||
23 | {% if entries is empty %} | 27 | {% if entries is empty %} |
24 | <div class="messages warning"><p>{% trans "No articles found." %}</p></div> | 28 | <div class="messages warning"><p>{% trans "No articles found." %}</p></div> |
25 | {% else %} | 29 | {% else %} |
@@ -46,4 +50,5 @@ | |||
46 | {% endfor %} | 50 | {% endfor %} |
47 | {% endif %} | 51 | {% endif %} |
48 | {{ block('pager') }} | 52 | {{ block('pager') }} |
53 | {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "mark all the entries as read" %}" href="./?action=archive_all">{% trans "mark all the entries as read" %}</a>{% endif %}{% endif %} | ||
49 | {% endblock %} | 54 | {% endblock %} |