aboutsummaryrefslogtreecommitdiff
path: root/poll.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-24 17:32:09 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-24 17:32:09 +0100
commit5af384f16d8a46930e8a8ec869f9ce28d12b9801 (patch)
tree2322e17d4ce3376d2e3df19d03ea7d57992e3b54 /poll.rb
parent10e45339e3ce35b4310a0743d490e9a43965c1f9 (diff)
make the whole name clickable instead of only the edit symbol
Diffstat (limited to 'poll.rb')
-rw-r--r--poll.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/poll.rb b/poll.rb
index d89a39f..54bbe33 100644
--- a/poll.rb
+++ b/poll.rb
@@ -70,8 +70,9 @@ class Poll
else
ret += "<tr class='participantrow'>\n"
ret += "<td class='name' #{edituser == participant ? "id='active'":""}>"
+ ret += "<a href=\"?edituser=#{CGI.escapeHTML(CGI.escape(participant))}\">" if showparticipation
ret += participant
- ret += "<span class='edituser'> <sup><a href=\"?edituser=#{CGI.escapeHTML(CGI.escape(participant))}\">#{EDIT}</a></sup></span>" if showparticipation
+ ret += "<span class='edituser'> <sup>#{EDIT}</sup></a></span>" if showparticipation
ret += "</td>\n"
@head.each_column{|columnid,columntitle|
klasse = poll[columnid]