aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/home.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-09 05:01:58 -0700
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-09 05:01:58 -0700
commit2230a38cd678259947ccaffecee579604822d1cf (patch)
tree7ee8787fce39dcec7f3699068c9ac51bbdcb1c30 /tpl/home.twig
parentef6051b95e2e289bb32107b75594406db2801653 (diff)
parent2edde7fe337a8502ee5d37ae0b76f76295864b7c (diff)
downloadwallabag-2230a38cd678259947ccaffecee579604822d1cf.tar.gz
wallabag-2230a38cd678259947ccaffecee579604822d1cf.tar.zst
wallabag-2230a38cd678259947ccaffecee579604822d1cf.zip
Merge pull request #205 from NumEricR/less-is-more
Less is more :-)
Diffstat (limited to 'tpl/home.twig')
-rw-r--r--tpl/home.twig2
1 files changed, 2 insertions, 0 deletions
diff --git a/tpl/home.twig b/tpl/home.twig
index db4e0888..771c36c5 100644
--- a/tpl/home.twig
+++ b/tpl/home.twig
@@ -12,10 +12,12 @@
12{% include '_menu.twig' %} 12{% include '_menu.twig' %}
13{% endblock %} 13{% endblock %}
14{% block precontent %} 14{% block precontent %}
15 {% if entries|length > 1 %}
15 <ul id="sort"> 16 <ul id="sort">
16 <li><a href="./?sort=ia&amp;view={{ view }}"><img src="./tpl/img/{{ constant('THEME') }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&amp;view={{ view }}"><img src="./tpl/img/{{ constant('THEME') }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li> 17 <li><a href="./?sort=ia&amp;view={{ view }}"><img src="./tpl/img/{{ constant('THEME') }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&amp;view={{ view }}"><img src="./tpl/img/{{ constant('THEME') }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li>
17 <li><a href="./?sort=ta&amp;view={{ view }}"><img src="./tpl/img/{{ constant('THEME') }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&amp;view={{ view }}"><img src="./tpl/img/{{ constant('THEME') }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li> 18 <li><a href="./?sort=ta&amp;view={{ view }}"><img src="./tpl/img/{{ constant('THEME') }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&amp;view={{ view }}"><img src="./tpl/img/{{ constant('THEME') }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li>
18 </ul> 19 </ul>
20 {% endif %}
19{% endblock %} 21{% endblock %}
20{% block content %} 22{% block content %}
21 {% if entries is empty %} 23 {% if entries is empty %}