[Codestriker-commits] CVS update: codestriker/template/en/default viewdeltas.html.tmpl
Brought to you by:
sits
|
From: <si...@us...> - 2008-07-01 06:00:16
|
User: sits
Date: 08/06/30 23:00:15
Modified: template/en/default viewdeltas.html.tmpl
Log:
For binary files, don't bother showing the line links, as there are no lines.
Index: viewdeltas.html.tmpl
===================================================================
RCS file: /cvsroot/codestriker/codestriker/template/en/default/viewdeltas.html.tmpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- viewdeltas.html.tmpl 11 Jun 2008 07:52:04 -0000 1.6
+++ viewdeltas.html.tmpl 1 Jul 2008 06:00:15 -0000 1.7
@@ -55,7 +55,7 @@
Parallel
</a>
</td>
- [% ELSE %]
+ [% ELSIF !delta.binary %]
[%# Just display the line numbers for the delta without any links. #%]
<td class="line" colspan="2">Line [% delta.old_linenumber %]</td>
<td class="line" colspan="2">Line [% delta.new_linenumber %]</td>
|