{% extends "base.html" %} {% load humanize pygmentize snipt_tags %} {% block add-snipt %} {% include 'add-snipt.html' %} {% endblock %} {% block page-title %}/ {% if snipt.title %}{{ snipt.title }}{% else %}Untitled{% endif %} / {{ user.username }} - {{ block.super }}{% endblock %} {% block html-class %}detail{% endblock %} {% block body-class %}{% if request.path == '/api/' or request.path == '/blogging/' %}snipt-page{% else %}detail{% endif %}{% endblock %} {% block js %} {{ block.super }} window.detail = true; {% endblock %} {% block breadcrumb %}
  • {{ user.username }}
  • / {{ snipt.title }}
  • {% endblock %} {% block aside-inner %} {% if request.path == '/api/' %} {% if request.user.is_authenticated %} {% endif %} {% endif %} {% endblock %} {% block content %}
    {% with 'true' as detail %} {% include "snipts/snipt-list.html" %} {% endwith %}
    {% for secure_view in snipt.sniptsecureview_set.all|dictsortreversed:"created" %} {% endfor %}
    {% for log_entry in snipt.sniptlogentry_set.all|dictsortreversed:"created" %}
    {{ log_entry.diff|pygmentize|safe }}
    {% endfor %}
    {% endblock %}