changeset 8487:338412820a57

gitweb, monoblue: break long line in map file
author Martin Geisler <mg@lazybytes.net>
date Sun, 17 May 2009 22:52:45 +0200
parents 835b1ee111f4
children ea1981f65b3a
files templates/gitweb/map templates/monoblue/map
diffstat 2 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/templates/gitweb/map	Sun May 17 22:51:50 2009 +0200
+++ b/templates/gitweb/map	Sun May 17 22:52:45 2009 +0200
@@ -70,7 +70,12 @@
 fileannotate = fileannotate.tmpl
 filediff = filediff.tmpl
 filelog = filelog.tmpl
-fileline = '<div style="font-family:monospace" class="parity{parity}"><pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</pre></div>'
+fileline = '
+  <div style="font-family:monospace" class="parity{parity}">
+    <pre>
+      <a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}
+    </pre>
+  </div>'
 annotateline = '
   <tr style="font-family:monospace" class="parity{parity}">
     <td class="linenr" style="text-align: right;">
--- a/templates/monoblue/map	Sun May 17 22:51:50 2009 +0200
+++ b/templates/monoblue/map	Sun May 17 22:52:45 2009 +0200
@@ -61,7 +61,12 @@
 fileannotate = fileannotate.tmpl
 filediff = filediff.tmpl
 filelog = filelog.tmpl
-fileline = '<div style="font-family:monospace" class="parity{parity}"><pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</pre></div>'
+fileline = '
+  <div style="font-family:monospace" class="parity{parity}">
+    <pre>
+      <a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}
+    </pre>
+  </div>'
 annotateline = '
   <tr class="parity{parity}">
     <td class="linenr">