diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-25 21:22:26 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-25 21:22:26 +0100 |
commit | 2bd061b8207e9f1ca5c9b9cd522efc1fb0c44ce6 (patch) | |
tree | 62316fbb923fa2223ab4c7dc3bb125d5d7167c4f | |
parent | 4bc0df7fb2758da15b306eb168529c6a3acb816f (diff) |
show history only if revno > 1
Diffstat (limited to '')
-rwxr-xr-x | participate.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/participate.rb b/participate.rb index 1ac9f64..7937ffc 100755 --- a/participate.rb +++ b/participate.rb @@ -80,13 +80,12 @@ $htmlout += <<HEAD </ul> </div> <div id='main'> - <p id='history'>history:#{table.history_to_html}</p> HEAD # TABLE - $htmlout += "<h1>#{table.name}</h1>" if VCS.revno == 1 $htmlout += <<HINT +<h1>#{table.name}</h1> <pre id='configwarning'> . .:;:. @@ -107,6 +106,8 @@ if VCS.revno == 1 HINT else $htmlout += <<TABLE +<p id='history'>history:#{table.history_to_html}</p> +<h1>#{table.name}</h1> <div id='polltable'> <form method='post' action='.'> #{table.to_html($cgi['edituser'])} |