Improve blocks on/by links on user pages

All block related links are now only shown if the user has given
or received any blocks, and include a count of active blocks.
This commit is contained in:
Tom Hughes 2012-08-09 10:48:34 +01:00
parent ec92881dd0
commit fbabed694b
6 changed files with 38 additions and 22 deletions

View file

@ -1742,8 +1742,8 @@ en:
revoke:
administrator: "Revoke administrator access"
moderator: "Revoke moderator access"
block_history: "view blocks received"
moderator_history: "view blocks given"
block_history: "blocks received"
moderator_history: "blocks given"
comments: "comments"
create_block: "block this user"
activate_user: "activate this user"