Add new appearance app to hold all of the base templates, images, icons and external packages related to the frontend and look of the project

This commit is contained in:
Roberto Rosario
2015-03-30 02:17:40 -04:00
parent 3131751b25
commit 5dabc0a34a
290 changed files with 298 additions and 298 deletions
@@ -0,0 +1,20 @@
{% load permission_tags %}
{% load navigation_tags %}
{% load acl_tags %}
{% with link.permissions as permissions %}
{% check_permissions request.user permissions %}
{% check_access permissions request.user object %}
{% if permission or access %}
{% if as_li %}
<li class="{% if forloop.first and li_class_first %}{{ li_class_first }} {% endif %}{% if link.active and li_class_active %}{{ li_class_active }}{% endif %}">
{% endif %}
{% include link_template|default:'navigation/generic_link_instance.html' %}
{% if as_li %}
</li>
{% endif %}
{% endif %}
{% endwith %}