From 803b626975e0bb8c02b6a887d43a21655f670f90 Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Fri, 20 Nov 2009 13:58:45 +0100 Subject: made history tab usefull --- history.rb | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'history.rb') diff --git a/history.rb b/history.rb index 5a10a68..e49f2e2 100755 --- a/history.rb +++ b/history.rb @@ -46,16 +46,25 @@ load "../charset.rb" $html.add_css("../dudle.css") $html << "" -$html << Dudle::tabs("Access Control") +$html << Dudle::tabs("History") $html << < -

History

+

History of #{table.name}

TABLE -$html << "

history:#{table.history_to_html}

" + +if defined?(REVISION) + $html << "

Poll of Version #{REVISION}

" +else + $html << "

Current Poll

" +end $html << table.to_html + +$html << "

History

" +$html << "
#{table.history_to_html}
" + $html << "" $html.out($cgi) -- cgit v1.2.3