{% extends "base.html" %} {% block title %} Episode "{{episode.name}}" - S{{episode.season.number}}E{{episode.episode}} - {{show.name}} - Episodes.Community {% endblock %} {% block meta %} {{ block.super }} {% endblock %} {% block content %} {% load guardian_tags %} {% get_obj_perms request.user for show as "show_perms" %}
 Show Index {% if user.is_authenticated %} {% if "change_show" in show_perms %}  Add New Link {% else %}  Submit New Link {% endif %} {% else %} Log in to submit a link {% endif %}

Watch {{episode.name}} From

{% for sbm in submissions %}
 {{sbm.url}}
{% csrf_token %}
{% csrf_token %}
Submitted {{sbm.timestamp}} by {{sbm.user.display_name}}· {% if "change_show" in show_perms %}  Change {% else %} Report Invalid or Spam {% endif %}
{% empty %}

Nobody has submitted any links yet.

{% endfor %}
{% endblock %}