diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-24 13:32:11 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-24 13:32:11 -0700 |
commit | 6906ac6b4129c6c4a8b263c1a5648288b43d6a28 (patch) | |
tree | cba57db0ace286ae75c121e78643db705076a9e2 | |
parent | b7a588892fcd9d683d0391f9fce43df29443918e (diff) | |
parent | 3d41cb448b2ad44acbdff70a7114e0d395ff076a (diff) | |
download | gitlab-ci-6906ac6b4129c6c4a8b263c1a5648288b43d6a28.tar.gz |
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ci
-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 |