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:
@@ -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 %}
|
||||
Reference in New Issue
Block a user