Mercurial > agora-palash
view templates/snippet/snippet_diff.djhtml @ 44:f697817182d1
Rename .html snippets to .djhtml
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Sat, 31 Jul 2010 16:58:08 -0500 |
parents | templates/snippet/snippet_diff.html@ab608f27ecd5 |
children | 329a9d17be88 |
line wrap: on
line source
{% load i18n %} <h2> <span style="float:right;">(<a href="#" onclick="$('#diff').slideUp('fast'); return false;">{% trans "Close" %}</a>)</span> {% blocktrans with fileA.get_absolute_url as filea_url and fileB.get_absolute_url as fileb_url and fileA.id as filea_id and fileB.id as fileb_id %} Diff between <a href="{{ filea_url }}">Snippet #{{ filea_id }}</a> and <a href="{{ fileb_url }}">Snippet #{{ fileb_id }}</a> {% endblocktrans %} </h2> <pre class="code">{{ difftext|safe }}</pre>