diff options
author | Yorhel <git@yorhel.nl> | 2019-11-28 11:24:23 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-11-28 11:24:23 +0100 |
commit | dae4a72e37d33df9c87ecd62564d7c0680e7d87b (patch) | |
tree | 535f76fcadb09b1db3a0b135b9e992d7237455b2 /lib/VNWeb | |
parent | 8825bb9df2487057bb65b69df67c93e7d793a37a (diff) |
ulist: Fix display of vote date when not voted
Diffstat (limited to 'lib/VNWeb')
-rw-r--r-- | lib/VNWeb/User/Lists.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/User/Lists.pm b/lib/VNWeb/User/Lists.pm index 2c3a82b3..11242107 100644 --- a/lib/VNWeb/User/Lists.pm +++ b/lib/VNWeb/User/Lists.pm @@ -343,7 +343,7 @@ sub vn_ { elm_ 'UList.VoteEdit' => $VNVOTE, { uid => $uid, vid => $v->{id}, vote => fmtvote($v->{vote}) }, fmtvote $v->{vote} if $own; } if in vote => $opt->{c}; - td_ class => 'tc_voted', fmtdate $v->{vote_date}, 'compact' if in voted => $opt->{c}; + td_ class => 'tc_voted', $v->{vote_date} ? fmtdate $v->{vote_date}, 'compact' : '-' if in voted => $opt->{c}; td_ class => 'tc_added', fmtdate $v->{added}, 'compact' if in added => $opt->{c}; td_ class => 'tc_modified', fmtdate $v->{lastmod}, 'compact' if in modified => $opt->{c}; |