diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-06-20 16:44:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-06-20 16:44:43 +0000 |
commit | a59e33acefa18b513233c0305afff9394c3169d9 (patch) | |
tree | cbd943d4790ba5c68be02837c5884a48922262d5 /app/views/projects/settings/_members.html.erb | |
parent | a8d945bed01dd396145bf1a4942fbb52d737dca2 (diff) | |
download | redmine-a59e33acefa18b513233c0305afff9394c3169d9.tar.gz redmine-a59e33acefa18b513233c0305afff9394c3169d9.zip |
Add links to administration pages in project settings (#30203).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18305 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/settings/_members.html.erb')
-rw-r--r-- | app/views/projects/settings/_members.html.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb index ac8769fc6..6dab1c294 100644 --- a/app/views/projects/settings/_members.html.erb +++ b/app/views/projects/settings/_members.html.erb @@ -1,5 +1,8 @@ <% members = @project.memberships.preload(:project).sorted.to_a %> +<% if User.current.admin? %> + <div class="contextual"><%= link_to l(:label_administration), users_path, :class => "icon icon-settings" %></div> +<% end %> <p><%= link_to l(:label_member_new), new_project_membership_path(@project), :remote => true, :class => "icon icon-add" %></p> <% if members.any? %> |