{% extends "localtv/__layouts/25_75.html" %} {% load comments daguerre author_comment %} {% comment %} Copyright 2012 - Participatory Culture Foundation This file is part of Miro Community. Miro Community is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Miro Community is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Miro Community. If not, see . {% endcomment %} {% load filters pagetabs %} {% block title %}{{ block.super }} - {% if author.first_name %}{{ author.get_full_name }} ({{ author.username }}){% else %}{{ author.username }}{% endif %}{% endblock %} {% block body_classes %}{{ block.super }} author-page{% endblock %} {% block top %} {% endblock %} {% block side %}
{% if author.get_profile.logo %} {% adjust author.get_profile.logo.name adjustment="fit" width=200 height=400 as profile_image %} {% endif %}
{{ author.get_profile.description|sanitize }}
{% get_author_comment_count for author as comment_count %} {% if comment_count %}

{{ comment_count }} Recent Comment{{ comment_count|pluralize }}

{% endif %} {% get_author_comments for author as comments %} {% if comments %}
    {% for comment in comments %}
  • {% if comment.content_object %}{{ comment.content_object.name }}{% else %}{{ comment.user_name }}{% endif %}

    {{ comment.submit_date|date:"F j, Y," }}
    {{ comment.submit_date|date:"g:i a T" }}
    {% if user_is_admin %}
    {% csrf_token %}
    {% csrf_token %}
    {% endif %}
    {{ comment.comment|sanitize }}
  • {% endfor %}
{% endif %}
{% endblock %} {% block main %}
{% if page_obj.has_other_pages %} {% endif %} {% include "localtv/_grid/video_list.html" with columns=3 %} {% if page_obj.has_other_pages %} {% endif %}
{% endblock %}