diff options
author | Yorhel <git@yorhel.nl> | 2009-10-10 15:53:08 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-10-10 15:53:30 +0200 |
commit | 5453223bf93a17d49d2717f8e0fbc70ed8477a94 (patch) | |
tree | 01d980d00bc39b0e2f8c12fc987ad1e11b1e6a79 /lib/VNDB | |
parent | 5ce2ce4c494feef5940c032549472a52b5282ad1 (diff) |
Make "My Messages (n)" stand out when n>0
Not very obstructive now that number will automatically reset itself
after opening the threads.
Diffstat (limited to 'lib/VNDB')
-rw-r--r-- | lib/VNDB/Util/LayoutHTML.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; |