Skip to content

Commit

Permalink
org: Change sidebar display role level
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Jul 19, 2017
1 parent 083e9db commit 92a70e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/organization/view.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ <h3><span id="project-description">@org.descr</span></h3>
</ul>
</div>
<div class="span3 span-hard-wrap">
@if(UserApp.currentUser().isMemberOf(org)) {
@if(UserApp.currentUser().isSiteManager()
|| UserApp.currentUser().isMemberOf(org)
|| OrganizationUser.isAdmin(org.id, UserApp.currentUser().id)
) {
<div class="bubble-wrap gray project-home">
<div class="inner member-info">
<header>
Expand Down

0 comments on commit 92a70e8

Please sign in to comment.