PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/modules/mod_admin/templates/_admin_sort_header.tpl

https://code.google.com/p/zotonic/
Smarty Template | 9 lines | 9 code | 0 blank | 0 comment | 0 complexity | b3b78044387f727539ee34f333d8546b MD5 | raw file
1<a href="?qs={{ q.qs }}&qcat={{ q.qcat }}&qsort={% ifequal q.qsort field %}-{% endifequal %}{{ field }}">
2    {{ caption }}
3    {% ifequal q.qsort field %}
4    +
5    {% endifequal %}
6    {% ifequal q.qsort "-"|append:field %}
7    -
8    {% endifequal %}
9</a>