Created
March 21, 2016 17:29
-
-
Save vsmihaylovsky/fce43f66b86c8e5f73d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a {% for attr, value in options %} {{ attr }}="{{ value }}"{% endfor %}> | |
{{ title }} | |
{% if options.class == 'sortable' %} | |
<span class="glyphicon glyphicon-sort" aria-hidden="true"></span> | |
{% elseif options.class == 'asc' %} | |
<span class="glyphicon glyphicon-sort-by-attributes" aria-hidden="true"></span> | |
{% else %} | |
<span class="glyphicon glyphicon-sort-by-attributes-alt" aria-hidden="true"></span> | |
{% endif %} | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment