aboutsummaryrefslogtreecommitdiff
path: root/config_sample.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-09-22 23:48:52 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-09-22 23:48:52 +0200
commit1a748a02a0ce3c7dd0cde2851d7e1460698482c0 (patch)
treedb8eb13d005178423736d414677fe769e6c872dd /config_sample.rb
parent390e39f6c2e79345f38ebf36617090e8af122a4a (diff)
even better example approach (possibility to specify revision number)
Diffstat (limited to 'config_sample.rb')
-rw-r--r--config_sample.rb12
1 files changed, 9 insertions, 3 deletions
diff --git a/config_sample.rb b/config_sample.rb
index d8a3993..69263c8 100644
--- a/config_sample.rb
+++ b/config_sample.rb
@@ -61,10 +61,16 @@ AUTO_SEND_REPORT = false
EXAMPLES = [
{
:url => "coffeebreak",
- :description => _("Event Schedule Poll")
+ :description => _("Event Schedule Poll"),
+ :new_environment => true,
},{
:url => "coffee",
- :description => _("Normal Poll")
+ :description => _("Normal Poll"),
+ :revno => 34
+ },{
+ :url => "Cheater",
+ :description => "Cheater",
+ :hidden => true
}
]
@@ -81,7 +87,7 @@ Dir.glob("*/data.yaml").sort_by{|f|
File.new(f).mtime
}.reverse.collect{|f| f.gsub(/\/data\.yaml$/,'') }.each{|site|
notice += <<NOTICE
-<tr>
+<tr class='participantrow'>
<td class='polls'><a href='./#{CGI.escapeHTML(site).gsub("'","%27")}/'>#{CGI.escapeHTML(site)}</a></td>
<td class='mtime'>#{File.new(site + "/data.yaml").mtime.strftime('%d.%m, %H:%M')}</td>
</tr>