diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-21 16:04:05 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-21 16:04:05 +0100 |
commit | 0440249631164a378981d014bf71b617c082bf5a (patch) | |
tree | 740d4e798c954374f115927ebc434d393368ab46 /src/Wallabag/Wallabag/Resources/views/default/_sorting.twig | |
parent | 3eb951572d3f22ad37395afceb4a739ad8cd0fd6 (diff) | |
download | wallabag-0440249631164a378981d014bf71b617c082bf5a.tar.gz wallabag-0440249631164a378981d014bf71b617c082bf5a.tar.zst wallabag-0440249631164a378981d014bf71b617c082bf5a.zip |
move templates into resources
Diffstat (limited to 'src/Wallabag/Wallabag/Resources/views/default/_sorting.twig')
-rwxr-xr-x | src/Wallabag/Wallabag/Resources/views/default/_sorting.twig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Wallabag/Wallabag/Resources/views/default/_sorting.twig b/src/Wallabag/Wallabag/Resources/views/default/_sorting.twig new file mode 100755 index 00000000..3ce9b949 --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/views/default/_sorting.twig | |||
@@ -0,0 +1,6 @@ | |||
1 | {% if entries|length > 1 %} | ||
2 | <ul id="sort"> | ||
3 | <li><a href="./?sort=ia&view={{ view }}{% if searchterm is defined %}&search={{ searchterm }}{% endif %}&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 }}{% if searchterm is defined %}&search={{ searchterm }}{% endif %}&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 }}{% if searchterm is defined %}&search={{ searchterm }}{% endif %}&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 }}{% if searchterm is defined %}&search={{ searchterm }}{% endif %}&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 %} | ||