Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit ce1e73b

Browse files
committed
STYLE: refs #0445. Userpage Actions links should have mouseover highlighting
Also allow admin user to see all user's pending community invitations
1 parent f104e36 commit ce1e73b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

core/controllers/UserController.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,9 @@ public function userpageAction()
693693
}
694694
}
695695

696-
// If this is the user's own page, show any pending community invitations
697-
if($this->logged && $this->userSession->Dao->getKey() == $userDao->getKey())
696+
// If this is the user's own page (or admin user), show any pending community invitations
697+
if($this->logged &&
698+
($this->userSession->Dao->getKey() == $userDao->getKey() || $this->userSession->Dao->isAdmin()))
698699
{
699700
$invitations = $userDao->getInvitations();
700701
$communityInvitations = array();
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#locationUser{
22
color:grey;
33
font-size: 10px;
4-
}
4+
}
5+
6+
div.sideElementFirst ul li:hover {
7+
background-color: #e5e5e5;
8+
color:black;
9+
}

0 commit comments

Comments
 (0)