Fossil SCM
In the default ticket view, add a SPAN with CSS class tktDspCommenter around the commenter's name, per suggestion in [forum:491ed22f44|forum post 491ed22f44].
Commit
9f53093dca13c13d573fafc3bbb30c16ca5499ea20594735e6d5810621e8a7bc
Parent
e340af58a249dc0…
1 file changed
+3
-1
+3
-1
| --- src/tktsetup.c | ||
| +++ src/tktsetup.c | ||
| @@ -537,15 +537,17 @@ | ||
| 537 | 537 | @ } else { |
| 538 | 538 | @ html "<tr><td class='tktDspLabel'>User Comments:</td></tr>\n" |
| 539 | 539 | @ html "<tr><td colspan='5' class='tktDspValue'>\n" |
| 540 | 540 | @ set seenRow 1 |
| 541 | 541 | @ } |
| 542 | +@ html "<span class='tktDspCommenter'>" | |
| 542 | 543 | @ html "[htmlize $xlogin]" |
| 543 | 544 | @ if {$xlogin ne $xusername && [string length $xusername]>0} { |
| 544 | 545 | @ html " (claiming to be [htmlize $xusername])" |
| 545 | 546 | @ } |
| 546 | -@ html " added on $xdate:\n" | |
| 547 | +@ html " added on $xdate:" | |
| 548 | +@ html "</span>\n" | |
| 547 | 549 | @ if {$alwaysPlaintext || $xmimetype eq "text/plain"} { |
| 548 | 550 | @ set r [randhex] |
| 549 | 551 | @ if {$xmimetype ne "text/plain"} {html "([htmlize $xmimetype])\n"} |
| 550 | 552 | @ wiki "<verbatim-$r>[string trimright $xcomment]</verbatim-$r>\n" |
| 551 | 553 | @ } elseif {$xmimetype eq "text/x-fossil-wiki"} { |
| 552 | 554 |
| --- src/tktsetup.c | |
| +++ src/tktsetup.c | |
| @@ -537,15 +537,17 @@ | |
| 537 | @ } else { |
| 538 | @ html "<tr><td class='tktDspLabel'>User Comments:</td></tr>\n" |
| 539 | @ html "<tr><td colspan='5' class='tktDspValue'>\n" |
| 540 | @ set seenRow 1 |
| 541 | @ } |
| 542 | @ html "[htmlize $xlogin]" |
| 543 | @ if {$xlogin ne $xusername && [string length $xusername]>0} { |
| 544 | @ html " (claiming to be [htmlize $xusername])" |
| 545 | @ } |
| 546 | @ html " added on $xdate:\n" |
| 547 | @ if {$alwaysPlaintext || $xmimetype eq "text/plain"} { |
| 548 | @ set r [randhex] |
| 549 | @ if {$xmimetype ne "text/plain"} {html "([htmlize $xmimetype])\n"} |
| 550 | @ wiki "<verbatim-$r>[string trimright $xcomment]</verbatim-$r>\n" |
| 551 | @ } elseif {$xmimetype eq "text/x-fossil-wiki"} { |
| 552 |
| --- src/tktsetup.c | |
| +++ src/tktsetup.c | |
| @@ -537,15 +537,17 @@ | |
| 537 | @ } else { |
| 538 | @ html "<tr><td class='tktDspLabel'>User Comments:</td></tr>\n" |
| 539 | @ html "<tr><td colspan='5' class='tktDspValue'>\n" |
| 540 | @ set seenRow 1 |
| 541 | @ } |
| 542 | @ html "<span class='tktDspCommenter'>" |
| 543 | @ html "[htmlize $xlogin]" |
| 544 | @ if {$xlogin ne $xusername && [string length $xusername]>0} { |
| 545 | @ html " (claiming to be [htmlize $xusername])" |
| 546 | @ } |
| 547 | @ html " added on $xdate:" |
| 548 | @ html "</span>\n" |
| 549 | @ if {$alwaysPlaintext || $xmimetype eq "text/plain"} { |
| 550 | @ set r [randhex] |
| 551 | @ if {$xmimetype ne "text/plain"} {html "([htmlize $xmimetype])\n"} |
| 552 | @ wiki "<verbatim-$r>[string trimright $xcomment]</verbatim-$r>\n" |
| 553 | @ } elseif {$xmimetype eq "text/x-fossil-wiki"} { |
| 554 |