{% load base_tags %} {% load base_filters %} {% load i18n %}
{% if article.first_name or article.last_name or article.phone or article.fax or article.email or article.website %}
{% if article.first_name or article.last_name %}
{% trans "Contact:" %} {{ article.first_name }} {{ article.last_name }}
{% endif %} {% if article.phone %}
{% trans "Phone:" %} {{ article.phone|phonenumber }}
{% endif %} {% if article.fax %}
{% trans "Fax:" %} {{ article.fax }}
{% endif %} {% if article.email %}
{% trans "Email:" %}{{ article.email|obfuscate_email }}
{% endif %} {% if article.website %}
{% trans "Website:" %}{{ article.website|urlize }}
{% endif %}
{% endif %} {% with article.category_set as article_cat %} {% if article_cat.category %}
{% trans "Category:" %} {{ article_cat.category }} {% if article_cat.sub_category %} | {% trans "Sub Category:" %} {{ article_cat.sub_category }} {% endif %}
{% endif %} {% endwith %} {% if article.tags %}
Tags: {% for tag in article.tags|tag_split %} {{ tag }}{% if not forloop.last %}, {% endif %} {% endfor %}
{% endif %} {% if user.is_authenticated %} {% if not user.profile.is_superuser %} {% if user == article.creator or user == article.owner %}
Owned by you{% if not article.status_detail == "active" %} - status: {{ article.obj_status }}{% endif %}
{% endif %} {% endif %} {% endif %}
{% if user.profile.is_superuser %}
{% endif %}