diff options
author | Hagen Wahrig <Unknown> | 2010-04-20 12:42:21 +0200 |
---|---|---|
committer | Hagen Wahrig <Unknown> | 2010-04-20 12:42:21 +0200 |
commit | 223778f60502d34c58652ed3b204eb1b45b3792e (patch) | |
tree | d7e16b6c57e3c18aae9d19a5fb65310e9ad56cb4 /timepollhead.rb | |
parent | 9aad2d944628fa916c9567683eae401969992f8f (diff) |
'sortsymb' for css fixed (copied sortsymb(scols,col) from pollhead.rb)
Diffstat (limited to 'timepollhead.rb')
-rw-r--r-- | timepollhead.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/timepollhead.rb b/timepollhead.rb index 2fe3d57..178060f 100644 --- a/timepollhead.rb +++ b/timepollhead.rb @@ -129,7 +129,9 @@ class TimePollHead } def sortsymb(scols,col) - scols.include?(col) ? SORT : NOSORT + return <<SORTSYMBOL +<span class='sortsymb'> #{scols.include?(col) ? SORT : NOSORT}</span> +SORTSYMBOL end ret += "<th class='invisible'></th></tr><tr><th><a href='?sort=name'>" + _("Name") + " #{sortsymb(scols,"name")}</a></th>" |