diff options
author | Yorhel <git@yorhel.nl> | 2019-10-22 19:12:52 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-10-22 19:12:52 +0200 |
commit | e51fabcf7822fa91a82527d25c93958fd296ea95 (patch) | |
tree | 42024d5d599a837f374ec0b70fe57930fbeeabc9 | |
parent | 83fdd388e335ed60aa9ec9f47d3110ae8da5aeea (diff) |
"nofancy" option also removes the star next to "My Profile"
-rw-r--r-- | lib/VNWeb/HTML.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/HTML.pm b/lib/VNWeb/HTML.pm index 2223c4cf..b4d877c3 100644 --- a/lib/VNWeb/HTML.pm +++ b/lib/VNWeb/HTML.pm @@ -198,7 +198,7 @@ sub _menu_ { my $support_opt = auth->pref('nodistract_can') || auth->pref('support_can') || auth->pref('uniname_can') || auth->pref('pubskin_can'); h2_ sub { user_ auth->user, 'user_', 1 }; div_ sub { - a_ href => "$uid/edit", 'My Profile'; txt_ '⭐' if $support_opt; br_; + a_ href => "$uid/edit", 'My Profile'; txt_ '⭐' if $support_opt && !auth->pref('nodistract_nofancy'); br_; a_ href => "$uid/list", 'My Visual Novel List'; br_; a_ href => "$uid/votes",'My Votes'; br_; a_ href => "$uid/wish", 'My Wishlist'; br_; |