Have linenumbers in blob displays
[catagits/Gitalist.git] / root / ref / blob.tt2
old mode 100644 (file)
new mode 100755 (executable)
index 29a3b7b..ee8b007
@@ -1,14 +1,17 @@
-[% INCLUDE inc/syntax_highlight_css.tt2 %]
-[% PROCESS 'nav/actions.tt2' object = head %]
+<h3 class="header">[% INCLUDE 'nav/path.tt2' %]</h3>
 
-<div class='content'>
   [% IF object.type == 'commit' %]
    <div class='commit-message'>
     [% short_cmt(head.comment) %]
    </div>
   [% END %]
-  [% INCLUDE 'nav/path.tt2' %]
-  <div>
-   <pre class='blob'>[% subinclude('/fragment/ref/blob', c.req.captures, c.req.args.to_path) %]</pre>
-  </div>
+
+<div id="blob">
+<table class="listing">
+<tbody>
+[% subinclude('/fragment/ref/blob', c.req.captures, c.req.args.to_path) %]
+</tbody>
+</table>
 </div>
+
+