aboutsummaryrefslogtreecommitdiff
path: root/config_sample.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-01-23 23:39:05 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-01-23 23:39:05 +0100
commit65e7f3916443f8603f2c62388827f849d61a5fae (patch)
tree9a1d338edc3f9dfc8a5338d89dcd8727de0e0a8c /config_sample.rb
parent3c3a4820a40c9db85eb8388b4230343d2e51d399 (diff)
forgot the config_sample
Diffstat (limited to 'config_sample.rb')
-rw-r--r--config_sample.rb23
1 files changed, 7 insertions, 16 deletions
diff --git a/config_sample.rb b/config_sample.rb
index 87db794..1dc518d 100644
--- a/config_sample.rb
+++ b/config_sample.rb
@@ -26,24 +26,15 @@ load "git.rb"
# Change this if the url is not determined correctly
SITEURL = "http://#{$cgi.server_name}#{$cgi.script_name.gsub(/[^\/]*$/,"")}"
+# Add some Example Polls to the start page
+EXAMPLES = {
+ "event_schedule_example" => "coffeebreak",
+ "normal_example" => "coffee"
+}
+
# add the htmlcode in the Variable NOTICE to the startpage
-# Example 1: displays a static text
+# Example: displays all available Polls
notice = <<NOTICE
-<div>
- <h2>Examples</h2>
- If you want to play around with the Tool, you may want to take a look at these two Example Polls:<br />
- <a href='coffeebreak'>Event Schedule Poll</a><br />
- <a href='coffee'>Normal Poll</a>
-</div>
-
-<div>
- <h2>--verbose</h2>
- Get the sourcecode with <a href="http://bazaar-vcs.org/">bazaar</a>:
- <pre>bzr branch #{SITEURL} dudle</pre>
-</div>
-NOTICE
-# Example 2: displays all available Polls
-notice += <<NOTICE
<h2>Available Polls</h2>
<table>
<tr>