Mercurial > hg
diff templates/gitweb/map @ 3353:2edf53386d86
gitweb: add file diff view
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 11 Oct 2006 16:19:11 -0700 |
parents | 0708bdb4987a |
children | fddb0ab6d307 |
line wrap: on
line diff
--- a/templates/gitweb/map Wed Oct 11 23:31:05 2006 +0200 +++ b/templates/gitweb/map Wed Oct 11 16:19:11 2006 -0700 @@ -8,7 +8,7 @@ naventry = '<a href="#url#log/#rev#{getentries}">#label|escape#</a> ' navshortentry = '<a href="#url#shortlog/#rev#{getentries}">#label|escape#</a> ' filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> ' -filenodelink = '<tr class="parity#parity#"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> <!-- FIX ME | <a href="#url#diff/#node|short#/#file|urlescape#{getentries}">diff</a> --> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a></td></tr>' +filenodelink = '<tr class="parity#parity#"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> | <a href="#url#diff/#node|short#/#file|urlescape#{getentries}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a></td></tr>' fileellipses = '...' changelogentry = changelogentry.tmpl searchentry = changelogentry.tmpl @@ -18,6 +18,7 @@ manifestfileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td style="font-family:monospace" align=right>#size#</td><td class="list"><a class="list" href="#url#file/#node|short#/#file|urlescape#{getentries}">#basename|escape#</a></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a></td></tr>' filerevision = filerevision.tmpl fileannotate = fileannotate.tmpl +filediff = filediff.tmpl filelog = filelog.tmpl fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><span class="linenr"> #linenumber#</span> #line|escape#</pre></div>' annotateline = '<tr style="font-family:monospace" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>'