aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/_sorting.twig
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-02-27 16:11:37 +0200
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-02-27 16:11:37 +0200
commit36a733af8dee1de5a0f81f1efe70e96a435b6a17 (patch)
tree4f25c5d071b2e3e29dbfba01d7f6f948bb83b9f2 /themes/default/_sorting.twig
parentcbcae4037c02cd6c1ce7c373c6dae390565b7c51 (diff)
downloadwallabag-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-xthemes/default/_sorting.twig6
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&amp;view={{ view }}&amp;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&amp;view={{ view }}&amp;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&amp;view={{ view }}&amp;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&amp;view={{ view }}&amp;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 %}