Mercurial > hg
diff mercurial/templates/gitweb/map @ 38204:d6aa1fc8292f
gitweb: don't show '[up]' in file view when in root directory already
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 31 May 2018 18:33:49 +0800 |
parents | 47aea60d114d |
children |
line wrap: on
line diff
--- a/mercurial/templates/gitweb/map Thu May 31 18:01:54 2018 +0800 +++ b/mercurial/templates/gitweb/map Thu May 31 18:33:49 2018 +0800 @@ -59,6 +59,16 @@ changelogentry = changelogentry.tmpl changeset = changeset.tmpl manifest = manifest.tmpl +updirentry = ' + <tr class="parity{upparity}"> + <td style="font-family:monospace">drwxr-xr-x</td> + <td style="font-family:monospace"></td> + <td style="font-family:monospace"></td> + <td> + <a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a> + </td> + <td class="link"> </td> + </tr>' direntry = ' <tr class="parity{parity}"> <td style="font-family:monospace">drwxr-xr-x</td>