summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-12-08 11:46:19 +0100
committerYorhel <git@yorhel.nl>2019-12-08 11:46:24 +0100
commit6e213e9274014bebf22e2e206467df091810ea6b (patch)
treedd9d2b775df19a76a27e8254f09ccd491f184b5b
parent113ca9f820f24b81486b5fb66045aa5ac1cb49c5 (diff)
Discussions::Thread: Show deleted post author & date to boardmods
The username used to be visible to mods when hitting the edit button. Now that I'm rewriting the edit form I'm removing the username display field (it's not something you can edit, after all), so I'm moving the information to the thread, where it belongs.
-rw-r--r--lib/VNWeb/Discussions/Thread.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Discussions/Thread.pm b/lib/VNWeb/Discussions/Thread.pm
index a5e003af..507d8605 100644
--- a/lib/VNWeb/Discussions/Thread.pm
+++ b/lib/VNWeb/Discussions/Thread.pm
@@ -82,7 +82,7 @@ sub posts_ {
tr_ mkclass(deleted => $_->{hidden}), id => $_->{num}, sub {
td_ class => 'tc1', $t->{count} == $_->{num} ? (id => 'last') : (), sub {
a_ href => "/t$t->{id}.$_->{num}", "#$_->{num}";
- if(!$_->{hidden}) {
+ if(!$_->{hidden} || auth->permBoard) {
txt_ ' by ';
user_ $_;
br_;