diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-12-20 08:49:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-12-20 08:49:15 +0000 |
commit | 9db3386da4602ed3b1f991ce6caeacd1bb94a6fc (patch) | |
tree | f02b8e62894e11c7716fea2de0d490d2fdaced3d /app/views/projects | |
parent | 96cba5ddd181b05c6b0913b402a6f681f9939b28 (diff) | |
download | redmine-9db3386da4602ed3b1f991ce6caeacd1bb94a6fc.tar.gz redmine-9db3386da4602ed3b1f991ce6caeacd1bb94a6fc.zip |
Merged r19382 to 4.1-stable.
git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19386 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/show.html.erb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index a3ac9b14f..de99eeabe 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -1,8 +1,10 @@ <div class="contextual"> + <%= bookmark_link @project %> + + <%= actions_dropdown do %> <% if User.current.allowed_to?(:add_subprojects, @project) %> <%= link_to l(:label_subproject_new), new_project_path(:parent_id => @project), :class => 'icon icon-add' %> <% end %> - <%= bookmark_link @project %> <% if User.current.allowed_to?(:close_project, @project) %> <% if @project.active? %> <%= link_to l(:button_close), close_project_path(@project), :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-lock' %> @@ -13,7 +15,7 @@ <%= link_to_if_authorized l(:label_settings), {:controller => 'projects', :action => 'settings', :id => @project}, :class => 'icon icon-settings' if User.current.allowed_to?(:edit_project, @project) %> - + <% end %> </div> <h2><%=l(:label_overview)%></h2> |