{% extends "base.html" %} {% load oembed_tags %} {% load pagination_tags %} {% load news_tags %} {% block content %}
{% if latest_video %} {% oembed 548x301 %}
{{ latest_video.embed|safe }}

{{ latest_video.title }}

{{ latest_video.user }} at {{ latest_video.date_added|date:"g:iA, N j, Y" }}

{{ latest_video.description|bbcode2html|safe }}

{% with latest_video as object %} {% include 'ratings/like_this.html' %} {% endwith %}
  • twitter
  • facebook
{% endoembed %} {% endif %} {% if videos %} {% oembed 320x240 %} {% autopaginate videos 4 %} {% for video in videos %}
{% if video.thumbnail %} {% else %} {% endif %}

{{ video.title }}

{{ latest_video.user }} at {{ video.date_added|date:"g:iA, N j, Y" }}

{{ video.description|bbcode2html|safe }}

{% with video as object %} {% include 'ratings/like_this.html' %} {% endwith %}
{% empty %}

There are currently no videos.

{% endfor %} {% endoembed %} {% else %}

There are currently no videos.

{% endif %} {% endblock %}