{% extends "dpaste/base.html" %} {% load mptt_tags %} {% load i18n %} {% load dpaste_tags %} {% load url from future %} {% block title %}{% trans "Snippet" %} #{{ snippet.pk }}{% endblock %} {% block headline %}{% trans "Snippet" %} #{{ snippet.pk }}{% endblock %} {% block page %}
{% csrf_token %}
{% for tree_item,structure in tree|tree_info %} {% if structure.new_level %}
  • {% else %}
  • {% endif %}
    {% ifequal snippet tree_item %} #{{ tree_item.id }} {% else %} #{{ tree_item.id }} {% endifequal %}
    {% for level in structure.closed_levels %}
{% endfor %} {% endfor %}
{% if snippet.pk|in_list:request.session.snippet_list %} {% trans "Delete Now" %} {% endif %} {% if not snippet.is_single %} {% trans "Compare Snippets" %} {% endif %} {% trans "View Raw" %} {% trans "Gist" %}
{% if snippet.lexer == 'text' %}
{{ snippet.content|linebreaks }}
{% else %} {% include "dpaste/snippet_pre.html" %} {% endif %}

{% trans "Reply to this snippet" %} →

{% include "dpaste/snippet_form.html" %}
{% endblock %} {% block script_footer %} {{ block.super }} {% endblock %}