Mercurial > hg > mercurial-crew-with-dirclash
diff templates/gitweb/filerevision.tmpl @ 4464:e8da331a860f
gitweb: file rev template: Display metadata in same order as changeset does
author | Josef "Jeff" Sipek <jeffpc@josefsipek.net> |
---|---|
date | Tue, 29 May 2007 11:10:28 -0400 |
parents | 62f53b8f00c4 |
children | 46c5e1ee8aaa |
line wrap: on
line diff
--- a/templates/gitweb/filerevision.tmpl +++ b/templates/gitweb/filerevision.tmpl @@ -26,24 +26,21 @@ file | <div class="title">#file|escape#</div> <div class="title_text"> -<table> +<table cellspacing="0"> +<tr> + <td>author</td> + <td>#author|obfuscate#</td></tr> <tr> - <td class="metatag">changeset #rev#:</td> - <td><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> + <td></td> + <td>#date|date# (#date|age# ago)</td></tr> +<tr> + <td>changeset {rev}</td> + <td style="font-family:monospace"><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> #parent%filerevparent# #child%filerevchild# <tr> - <td class="metatag">manifest:</td> - <td><a href="{url}file/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> -<tr> - <td class="metatag">author:</td> - <td>#author|obfuscate#</td></tr> -<tr> - <td class="metatag">date:</td> - <td>#date|date# (#date|age# ago)</td></tr> -<tr> - <td class="metatag">permissions:</td> - <td>#permissions|permissions#</td></tr> + <td>permissions</td> + <td style="font-family:monospace">#permissions|permissions#</td></tr> </table> </div>