diff options
author | Yorhel <git@yorhel.nl> | 2010-12-09 19:21:59 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-12-09 19:21:59 +0100 |
commit | 14bf96d3f0868cb18489fd559be129f7e5f55f9f (patch) | |
tree | d2eacdac113cf7eff7767b30e788692673d2bffd /lib/VNDB/Util/BrowseHTML.pm | |
parent | eacb0299a5b6124e36a7eed8a51e8b8c18b20ddf (diff) |
Removed expand/collapse from history browser switched to a combined view
Much less screen space wasted this way.
Diffstat (limited to 'lib/VNDB/Util/BrowseHTML.pm')
-rw-r--r-- | lib/VNDB/Util/BrowseHTML.pm | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lib/VNDB/Util/BrowseHTML.pm b/lib/VNDB/Util/BrowseHTML.pm index cc296cc7..d4c7c84e 100644 --- a/lib/VNDB/Util/BrowseHTML.pm +++ b/lib/VNDB/Util/BrowseHTML.pm @@ -113,10 +113,10 @@ sub htmlBrowseHist { pageurl => $url, class => 'history', header => [ - sub { td colspan => 2, class => 'tc1', mt '_hist_col_rev' }, + sub { td class => 'tc1_1', mt '_hist_col_rev'; td class => 'tc1_2', ''; }, [ mt '_hist_col_date' ], [ mt '_hist_col_user' ], - sub { td; a href => '#', id => 'expandlist', mt '_js_expand'; txt mt '_hist_col_page'; end; } + [ mt '_hist_col_page' ], ], row => sub { my($s, $n, $i) = @_; @@ -133,17 +133,11 @@ sub htmlBrowseHist { td class => 'tc3'; lit $self->{l10n}->userstr($i); end; - td; + td class => 'tc4'; a href => $revurl, title => $i->{ioriginal}, shorten $i->{ititle}, 80; + b class => 'grayedout'; lit bb2html $i->{comments}, 250; end; end; end; - if($i->{comments}) { - Tr class => $n % 2 ? 'collapse msgsum odd hidden' : 'collapse msgsum hidden'; - td colspan => 5; - lit bb2html $i->{comments}, 150; - end; - end; - } }, ); } |