Files @ b38bff5ff039
Branch filter:

Location: conntrackt/conntrackt/templates/conntrackt/link.html

branko
Created the initial skeleton for templates. Added some custom template tags. Created first dummy index view. Configured the test project to use the django.core.context_processors.request template context processor (needed for active links detection).
1
2
3
4
5
6
7
{% load url from future %}

{% if identifier %}
<a href="{% url view identifier %}" {% if html_class %}class="{{html_class}}"{% endif %}>{{title}}</a>
{% else %}
<a href="{% url view %}" {% if html_class %}class="{{html_class}}"{% endif %}>{{title}}</a>
{% endif %}