Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hgweb-commands.t @ 29387:6b77adc2c7b5
hgweb: highlight data of the current revision in annotate view
* Distinguish the /annotate/<revision>/<file>#<linenumber> link when it would
lead to the current page (i.e. <revision> is the current revision) (style it
gray and undecorated). This indicates more clearly that this is a "dead-end"
in blame navigation.
* Display lines changed in current revision in green.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Thu, 02 Jun 2016 16:26:50 +0200 |
parents | 06ae7a6daad0 |
children | 849b8e84487e |
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t Tue Jun 21 17:15:51 2016 +0100 +++ b/tests/test-hgweb-commands.t Thu Jun 02 16:26:50 2016 +0200 @@ -1957,6 +1957,8 @@ .minusline { color: red; } .atline { color: purple; } .annotate { font-size: smaller; text-align: right; padding-right: 1em; } + tr.thisrev a { color:#999999; text-decoration: none; } + tr.thisrev pre { color:#009900; } .buttons a { background-color: #666; padding: 2pt;