diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-06-08 13:04:27 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-06-08 13:04:27 +0200 |
commit | 0d2ffbf45a1879dd781912645b6a3bcf9329da8d (patch) | |
tree | 50bfbe102acaf457116a87b311fc83e09e5c67f7 | |
parent | 811e920e22d698678b01c3465b285731e5f67273 (diff) |
show history in tooltip
Diffstat (limited to '')
-rw-r--r-- | participate.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/participate.rb b/participate.rb index 943b423..6cb0a3c 100644 --- a/participate.rb +++ b/participate.rb @@ -47,8 +47,8 @@ $htmlout +=" history:" ((REVISION-2)..(REVISION+2)).each do |i| if i >0 && i<=MAXREV $htmlout += " " - $htmlout += "<a href='?revision=#{i}' title=\"#{log[i-1][0].strftime('%d.%m, %H:%M')}: #{CGI.escapeHTML(log[i-1][1])}\">" if REVISION != i - $htmlout += "#{i}" + $htmlout += "<a href='?revision=#{i}' >" if REVISION != i + $htmlout += "<span title=\"#{log[i-1][0].strftime('%d.%m, %H:%M')}: #{CGI.escapeHTML(log[i-1][1])}\">#{i}</span>" $htmlout += "</a>" if REVISION != i end end |