diff options
-rw-r--r-- | data/style.css | 2 | ||||
-rw-r--r-- | lib/VNDB/Util/LayoutHTML.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/style.css b/data/style.css index 56c68f3c..483ef6d1 100644 --- a/data/style.css +++ b/data/style.css @@ -239,7 +239,7 @@ td.field label { p.center { text-align: center; } -b.future, b.standout { +b.future, b.standout, a.standout { font-weight: normal; color: $standout$; } diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm index d9dad434..34cbd30d 100644 --- a/lib/VNDB/Util/LayoutHTML.pm +++ b/lib/VNDB/Util/LayoutHTML.pm @@ -89,7 +89,7 @@ sub _menu { a href => "$uid/edit", mt '_menu_myprofile'; br; a href => "$uid/list", mt '_menu_myvnlist'; br; a href => "$uid/wish", mt '_menu_mywishlist'; br; - a href => "/t$uid", mt '_menu_mymessages', $self->authInfo->{mymessages}; br; + a href => "/t$uid", $self->authInfo->{mymessages} ? (class => 'standout') : (), mt '_menu_mymessages', $self->authInfo->{mymessages}; br; a href => "$uid/hist", mt '_menu_mychanges'; br; a href => "$uid/tags", mt '_menu_mytags'; br; br; |