{% extends "localtv/__layouts/75_25.html" %} {% 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 i18n comments filters uploadtemplate_tags editable_widget cache video_list email_share_tags daguerre compress %} {% load url from future %} {% block meta %} {% with title=current_video.name %} {% endwith %} {% with default_description="Video from "|add:site_settings.site.name %} {% with description=current_video.description|striptags|default:default_description %} {% endwith %} {% endwith %} {% if current_video.file_url %} {% if current_video.file_url_mimetype %} {% endif %} {% endif %} {# not DRY, but we can't store this. #} {% if current_video.has_thumbnail %} {% endif %} {% endblock %} {% block scripts %} {{ block.super }} {% if current_video.contestvideo_set %} {% endif %} {% endblock %} {% block styles %} {{ block.super }} {% if current_video.contestvideo_set %} {% endif %} {% endblock %} {% block body_classes %}{{ block.super }} video-detail{% endblock %} {% block title %}{{ current_video.name }} - {{ block.super }}{% endblock %} {% block precontent %}

{% if current_video.name %} {{ current_video.name }} {% else %} {% trans "(no title)" %} {% endif %}

{% with current_video as instance %} {% include "localtv/_when_published.html" %} {% include "localtv/inline_edit/video_authors.html" %} {% endwith %}

{% include "localtv/_video_embed.html" %}
{# /.container #}
{# /.precontent-content #}
{# /.video-stage #} {% endblock %} {% block main %}
{{ current_video.description|safe }}
{% if current_video.categories.count > 0 %}
{% with current_video as instance %} {% include "localtv/inline_edit/video_categories.html" %} {% endwith %}
{# /.video-full-categories #} {% endif %} {% if current_video.tags %}
{% with current_video as instance %} {% include "localtv/inline_edit/video_tags.html" %} {% endwith %}
{# /.video-full-tags #} {% endif %} {% if user_is_admin %} {% if current_video.submitter %}

{% trans "Submitted by" %}:

{{ current_video.submitter }}
{% endif %} {% if current_video.search %}

{% trans "From search" %}:

{{ current_video.search }}
{% endif %} {% if current_video.feed %}

{% trans "From feed" %}:

{{ current_video.feed }}
{% endif %} {% if current_video.contact %}

{% trans "Contact" %}:

{{ current_video.contact }}
{% endif %} {% if current_video.notes %}

{% trans "Notes" %}:

{{ current_video.notes }}
{% endif %} {% endif %}
{# /.video-details #}
{% endblock %} {% block side %} {% endblock %} {% block bottom %} {# Facebook #}
{# Twitter #} {# Google+ #} {# Pinterest #} {% endblock %}