view templates/snippet/snippet_diff.djhtml @ 96:19b75711215f

Increase header size in snippet_diff template More changes to come for the snippet_diff template, eventually
author dellsystem <ilostwaldo@gmail.com>
date Fri, 31 Aug 2012 02:01:52 -0400
parents 329a9d17be88
children 801bb49f3170
line wrap: on
line source

{% load i18n %}

<div class="info">
  <div class="whitebox">
    <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>
  </div>
</div>