{% load base_tags %} {% load base_filters %} {% load i18n %}
{% with directory.category_set as directory_cat %} {% if directory_cat.category %}
{% trans "Category:" %} {{ directory_cat.category }} {% if directory_cat.sub_category %} | {% trans "Sub Category:" %} {{ directory_cat.sub_category }} {% endif %}
{% endif %} {% endwith %} {% if directory.tags %}
Tags: {% for tag in directory.tags|tag_split %} {{ tag }}{% if not forloop.last %}, {% endif %} {% endfor %}
{% endif %} {% if user.is_authenticated %} {% if not user.profile.is_superuser %} {% if user == directory.creator or user == directory.owner %}
Owned by you{% if not directory.status_detail == "active" %} - status: {{ directory.obj_status }}{% endif %}
{% endif %} {% endif %} {% if user.profile.is_superuser or user == directory.creator or user == directory.owner %} {% meta_creator_owner directory %} {% endif %} {% endif %}
{% trans "Print" %}
{% if user.profile.is_superuser %}
{% endif %}