diff options
author | Yorhel <git@yorhel.nl> | 2019-09-11 17:05:27 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-09-11 17:05:44 +0200 |
commit | 04e92a4ef886c141783efcb1c62de12722511cc4 (patch) | |
tree | 71e1cce07de6bb8760d62a7d197a6b34cab15e67 /lib/VNDB/Util | |
parent | 82ade4157f86891c3d90336155a942976e1df934 (diff) |
VNDB::Types: Convert (wishlist|rlist|vnlist)_status
I did create a function to export arrays, but ended up exporting them as
hashes. That ought to simplify a conversion to an enum type. Which will
likely never happen because I'd rather switch to dynamic user-defined
statuses, but that's quite a step further...
Diffstat (limited to 'lib/VNDB/Util')
-rw-r--r-- | lib/VNDB/Util/BrowseHTML.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/BrowseHTML.pm b/lib/VNDB/Util/BrowseHTML.pm index ee2dbbf1..09bf55b2 100644 --- a/lib/VNDB/Util/BrowseHTML.pm +++ b/lib/VNDB/Util/BrowseHTML.pm @@ -197,7 +197,7 @@ sub htmlBrowseVN { lit sprintf '<b class="%s">%d/%d</b>', $l->{userlist_obtained} == $l->{userlist_all} ? 'done' : 'todo', $l->{userlist_obtained}, $l->{userlist_all} if $l->{userlist_all}; end 'td'; } - td class => 'tc8', defined($l->{wstat}) ? $self->{wishlist_status}[$l->{wstat}] : '' if $f->{wish}; + td class => 'tc8', defined($l->{wstat}) ? $WISHLIST_STATUS{$l->{wstat}} : '' if $f->{wish}; td class => 'tc2'; $_ ne 'oth' && cssicon $_, $PLATFORM{$_} for (sort @{$l->{c_platforms}}); |