changeset de9977f39372 in bugs.tryton.org:default
details: https://hg.tryton.org/bugs.tryton.org?cmd=changeset;node=de9977f39372
description:
Add anchor on issue msg
diffstat:
html/issue.item.html | 5 +++--
html/style.css | 3 +++
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 83a00ab0bb2e -r de9977f39372 html/issue.item.html
--- a/html/issue.item.html Sun Mar 31 00:26:26 2019 +0100
+++ b/html/issue.item.html Mon Oct 21 16:00:20 2019 +0200
@@ -190,8 +190,9 @@
<tr><th colspan="4" class="header" i18n:translate="">Messages</th></tr>
<tal:block tal:repeat="msg context/messages/reverse">
<tr tal:condition="python: msg.author.username not in ['reviewbot',
'roundup-bot']">
- <th><a tal:attributes="href string:msg${msg/id}"
- i18n:translate="">msg<tal:x replace="msg/id" i18n:name="id" />
(view)</a></th>
+ <th><a tal:attributes="id string:msg${msg/id}; href string:#msg${msg/id};"
+ i18n:translate="">msg<tal:x replace="msg/id" i18n:name="id" /></a>
+ <a tal:attributes="href string:msg${msg/id}" i18n:translate="">
(view)</a></th>
<th i18n:translate="">Author: <tal:x
replace="python:msg.author.realname.plain()"
i18n:name="author" /> (<tal:x replace="msg/author"/>)
<img tal:condition="msg/author/iscommitter" src="@@file/committer.png"
diff -r 83a00ab0bb2e -r de9977f39372 html/style.css
--- a/html/style.css Sun Mar 31 00:26:26 2019 +0100
+++ b/html/style.css Mon Oct 21 16:00:20 2019 +0200
@@ -13,6 +13,9 @@
color:blue;
text-decoration: none;
}
+a:target {
+ background-color: gold;
+}
pre {
white-space: pre-wrap;