[PATCH 1 of 2] template: remove unneeded <pre> from revision links

Andrew Shadura andrew at shadura.me
Fri Mar 20 06:57:30 EDT 2015


# HG changeset patch
# User Andrew Shadura <andrew at shadura.me>
# Date 1426848939 -3600
#      Fri Mar 20 11:55:39 2015 +0100
# Node ID b2ecf8a21929c129acb9681a0cf924746914dab0
# Parent  bd85aa06b288ab632ea4103d40f68742d55a3b04
template: remove unneeded <pre> from revision links

diff --git a/kallithea/templates/data_table/_dt_elements.html b/kallithea/templates/data_table/_dt_elements.html
--- a/kallithea/templates/data_table/_dt_elements.html
+++ b/kallithea/templates/data_table/_dt_elements.html
@@ -95,7 +95,7 @@
 <%def name="revision(name,rev,tip,author,last_msg)">
   <div>
   %if rev >= 0:
-      <pre><a title="${h.tooltip('%s:\n\n%s' % (author,last_msg))}" class="tooltip" href="${h.url('changeset_home',repo_name=name,revision=tip)}">${'r%s:%s' % (rev,h.short_id(tip))}</a></pre>
+      <a title="${h.tooltip('%s:\n\n%s' % (author,last_msg))}" class="tooltip" href="${h.url('changeset_home',repo_name=name,revision=tip)}">${'r%s:%s' % (rev,h.short_id(tip))}</a>
   %else:
       ${_('No changesets yet')}
   %endif


More information about the kallithea-general mailing list