diff options
-rw-r--r-- | app/views/admin/projects/show.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml index f8e6b9f..54a0187 100644 --- a/app/views/admin/projects/show.html.haml +++ b/app/views/admin/projects/show.html.haml @@ -1,5 +1,10 @@ %h4.page-title Project: #{@project.name} + - if current_user.can_manage_project?(@project.gitlab_id) + .pull-right + = link_to project_jobs_path(@project), class: "btn btn-default btn-small" do + %i.icon-edit.icon-white + Edit Job %p = link_to admin_projects_path do |