{% extends "admin-base-auth.html" %} {% load i18n %} {% load static %} {% block content %}
{% if tab != 'moderated' and tab != 'approved' and tab != 'all' %}

Invalid tab.

{% elif tab == 'moderated' and moderated|length == 0 %}

There are no comments to moderate.

{% elif tab == 'approved' and approved|length == 0 %}

There are no approved comments.

{% elif tab == 'all' and moderated|length == 0 and approved|length == 0 %}

There are no comments.

{% else %}
{% if tab == 'moderated' or tab == 'all' %} {% for comment in moderated %} {% with photo=comment.content_object %} {% endwith %} {% endfor %} {% endif %} {% if tab == 'approved' or tab == 'all' %} {% for comment in approved %} {% with photo=comment.content_object %} {% endwith %} {% endfor %} {% endif %}
Actions User info Comment Photo info
{% if comment.is_public %} {% translate "Moderate" %} {% else %} {% translate "Approve" %} {% endif %}
{% translate "Remove" %}
{{comment.user_name}}
{{comment.user_email}} {% if comment.user_url != '' %}
{{comment.user_url}} {% endif %}
{{comment.comment}} {{photo.view_timestamp}}
{{photo.title}}
{{photo.the_album.name}}
{% if comment.is_public %} {% translate "Moderate" %} {% else %} {% translate "Approve" %} {% endif %}
{% translate "Remove" %}
{{comment.user_name}}
{{comment.user_email}} {% if comment.user_url != '' %}
{{comment.user_url}} {% endif %}
{{comment.comment}} {{photo.view_timestamp}}
{{photo.title}}
{{photo.the_album.name}}
{% endif %}
{% endblock %}