changeset 147:801bb49f3170

Remove unnecessary HTML in snippet diff view
author dellsystem <ilostwaldo@gmail.com>
date Mon, 15 Oct 2012 00:22:05 -0400
parents 6573617409e2
children f876cc7b7270
files templates/snippet/snippet_diff.djhtml
diffstat 1 files changed, 10 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/templates/snippet/snippet_diff.djhtml
+++ b/templates/snippet/snippet_diff.djhtml
@@ -1,17 +1,13 @@
 {% 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>
+<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>
+<pre class="code">{{ difftext|safe }}</pre>