{% extends "base.html" %} {% load mptt_tags %} {% load i18n %} {% block extrahead %} {% if request.session.userprefs %} {% endif %} {% endblock %} {% block title %}{% trans "Snippet" %} #{{ snippet.pk }}{% endblock %} {% block headline %}

{% trans "Snippet" %} #{{ snippet.pk }} {% if snippet.parent_id %} {% blocktrans with snippet.parent.get_absolute_url as parent_url and snippet.parent.id as parent_id %}(Copy of snippet #{{ parent_id }}){% endblocktrans %} {% endif %} {{ snippet.published|date:_("DATETIME_FORMAT") }} ({% trans "UTC" %})

{% endblock %} {% load dpaste_tags %} {% block content %}
TTL: {{ snippet.expires|timeuntil }} — {% if snippet.pk|in_list:request.session.snippet_list %} Delete now! — {% endif %} {% trans "Wordwrap" %}

{% if snippet.title %}{{ snippet.title }}{% else %} {% trans "Snippet" %} #{{ snippet.id}}{% endif %} {% if snippet.author %}{% blocktrans with snippet.author as author %}by {{ author }}{% endblocktrans %}{% endif %}

{% for l in lines %}{{ forloop.counter }}{% endfor %}
{% for line in snippet.content_splitted %}
{% if line %}{{ line|safe }}{% else %} {% endif %}
{% endfor %}

{% trans "Write an answer" %} →

{% endblock %} {% block sidebar %}

{% trans "History" %}

{% for tree_item,structure in tree|tree_info %} {% if structure.new_level %}{% endfor %} {% endfor %}

{% trans "Options" %}

{% trans "View raw" %}

{% endblock %} {% block script_footer %} {% endblock %}