aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabout.cgi1
-rw-r--r--config_sample.rb15
2 files changed, 14 insertions, 2 deletions
diff --git a/about.cgi b/about.cgi
index 65de13d..26a4a51 100755
--- a/about.cgi
+++ b/about.cgi
@@ -34,6 +34,7 @@ $d << "<br />"
$d << _("You can get the sourcecode, using <a href='http://bazaar-vcs.org/'>bazaar</a>:")
$d << "<pre>bzr branch #{SITEURL} dudle</pre></div>"
+$d << ABOUTNOTICE
$d.out
end
diff --git a/config_sample.rb b/config_sample.rb
index a5ea129..986be02 100644
--- a/config_sample.rb
+++ b/config_sample.rb
@@ -96,8 +96,7 @@ EXAMPLES = [
}
]
-# add the htmlcode in the Variable EXAMPLENOTICE to the startpage
-# Example: displays all available Polls
+# add the htmlcode in the Variable EXAMPLENOTICE to the example page
examplenotice = <<EXAMPLENOTICE
<h2>Screencasts</h2>
<ol>
@@ -108,6 +107,18 @@ examplenotice = <<EXAMPLENOTICE
EXAMPLENOTICE
EXAMPLENOTICE = examplenotice
+# add the htmlcode in the Variable ABOUTNOTICE to the about page
+aboutnotice = <<ABOUTNOTICE
+<div class='textcolumn'>
+ <h2>Bugs/Features</h2>
+ <ul>
+ <li><a href="Bugs">Report a Bug</a></li>
+ <li><a href="Features">Request a Feature</a></li>
+ </ul>
+</div>
+ABOUTNOTICE
+ABOUTNOTICE = aboutnotice
+
# choose a default stylesheet
# e.g., "classic.css", "css/foobar.css", ...
DEFAULT_CSS = "default.css"