diff mercurial/templates/paper/filediff.tmpl @ 19433:a79b21ece345

hgweb: add line wrapping switch to file diff and changeset views
author Alexander Plavin <me@aplavin.ru>
date Sat, 13 Jul 2013 00:57:56 +0400
parents e92d4b8530cb
children b5e3f2b1d5e9
line wrap: on
line diff
--- a/mercurial/templates/paper/filediff.tmpl	Sat Jul 13 00:57:10 2013 +0400
+++ b/mercurial/templates/paper/filediff.tmpl	Sat Jul 13 00:57:56 2013 +0400
@@ -68,6 +68,7 @@
 </table>
 
 <div class="overflow">
+<div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
 <div class="sourcefirst"> line diff</div>
 <div class="stripes2 diffblocks">
 {diff}