summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/ULists.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-09 13:40:48 +0100
committerYorhel <git@yorhel.nl>2008-12-09 13:40:48 +0100
commit3ddfef35d69d78074c30793012a9f9fea8ca8f73 (patch)
tree5c476a0dee0a1df51f2a372f9af5def68400e2d0 /lib/VNDB/Handler/ULists.pm
parent66bc1533761ae28c0c8cbcea91b80c0319d86b39 (diff)
VNList status indicator on VN pages
Diffstat (limited to 'lib/VNDB/Handler/ULists.pm')
-rw-r--r--lib/VNDB/Handler/ULists.pm10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/VNDB/Handler/ULists.pm b/lib/VNDB/Handler/ULists.pm
index b94cd8e6..6c1c338f 100644
--- a/lib/VNDB/Handler/ULists.pm
+++ b/lib/VNDB/Handler/ULists.pm
@@ -303,15 +303,7 @@ sub _vnlist_browse {
a href => "/r$_->{rid}", title => $_->{original}||$_->{title}, shorten $_->{title}, 50;
end;
td colspan => 2, class => 'tc4';
- my $rs = $self->{vn_rstat}[$_->{rstat}];
- $rs = qq|<b class="done">$rs</b>| if $_->{rstat} == 2; # Obtained
- $rs = qq|<b class="todo">$rs</b>| if $_->{rstat} < 2; # Unknown/pending
- lit $rs;
- txt ' / ';
- my $vs = $self->{vn_vstat}[$_->{vstat}];
- $vs = qq|<b class="done">$vs</b>| if $_->{vstat} == 2; # Finished
- $vs = qq|<b class="todo">$vs</b>| if $_->{vstat} == 0 || $_->{vstat} == 4; # Unknown/dropped
- lit $vs;
+ lit liststat($_);
end;
end;
}