diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-02-27 16:11:37 +0200 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-02-27 16:11:37 +0200 |
commit | 36a733af8dee1de5a0f81f1efe70e96a435b6a17 (patch) | |
tree | 4f25c5d071b2e3e29dbfba01d7f6f948bb83b9f2 /themes/default/_sorting.twig | |
parent | cbcae4037c02cd6c1ce7c373c6dae390565b7c51 (diff) | |
download | wallabag-36a733af8dee1de5a0f81f1efe70e96a435b6a17.tar.gz wallabag-36a733af8dee1de5a0f81f1efe70e96a435b6a17.tar.zst wallabag-36a733af8dee1de5a0f81f1efe70e96a435b6a17.zip |
some baggy theme fixes and enhancement: issue #479
Diffstat (limited to 'themes/default/_sorting.twig')
-rwxr-xr-x | themes/default/_sorting.twig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/default/_sorting.twig b/themes/default/_sorting.twig new file mode 100755 index 00000000..4f2fceb0 --- /dev/null +++ b/themes/default/_sorting.twig | |||
@@ -0,0 +1,6 @@ | |||
1 | {% if entries|length > 1 %} | ||
2 | <ul id="sort"> | ||
3 | <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> | ||
4 | <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> | ||
5 | </ul> | ||
6 | {% endif %} | ||