diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-02-27 15:20:01 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-02-27 15:20:01 +0100 |
commit | 61e79d934495ee24bb824e4c26b534ef9cd7fec3 (patch) | |
tree | 66f57690221a5ba3077d06d8553b8f1074b12171 /themes/default/_sorting.twig | |
parent | a8464c97197c1ea9c4b3c35d7cec6a5398b7a522 (diff) | |
parent | 36a733af8dee1de5a0f81f1efe70e96a435b6a17 (diff) | |
download | wallabag-61e79d934495ee24bb824e4c26b534ef9cd7fec3.tar.gz wallabag-61e79d934495ee24bb824e4c26b534ef9cd7fec3.tar.zst wallabag-61e79d934495ee24bb824e4c26b534ef9cd7fec3.zip |
Merge pull request #510 from mariroz/dev
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 %} | ||