Skip to content

Commit

Permalink
Modified Settings tab display to exclude only Contributor nodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
chth0n1x committed Feb 23, 2023
1 parent cb5fc6b commit c5f1b72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/templates/project/project_header.mako
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
% if permissions.WRITE in user['permissions'] and not node['is_registration']:
<li><a href="${node['url']}addons/" class="subnav-header">Add-ons</a></li>
% endif

% if user['has_read_permissions'] and not node['is_registration'] and not node['contributors'] or (node['is_registration'] and permissions.WRITE in user['permissions']):
<li><a href="${node['url']}settings/" class="subnav-header">Settings</a></li>
% endif
% endif
% if (user['can_comment'] or node['has_comments']) and not node['anonymous']:
<li id="commentsLink">
Expand Down

0 comments on commit c5f1b72

Please sign in to comment.