diff options
author | Valery Sizov <valery@gitlab.com> | 2015-03-21 20:04:01 +0000 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-03-21 20:04:01 +0000 |
commit | 3d41cb448b2ad44acbdff70a7114e0d395ff076a (patch) | |
tree | 9184346844147d6a0c09477ab0d328d2a77d7267 | |
parent | 1a150e144087cdd2d936823401a6d24baa31ad86 (diff) | |
parent | 68ef78922d0917c2b6c1735d4c8b7f8adadf0cac (diff) | |
download | gitlab-ci-3d41cb448b2ad44acbdff70a7114e0d395ff076a.tar.gz |
Merge branch 'feature/edit-project-button' into 'master'
Add `Edit project` button in project view
Closes #49
See merge request !46
-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 |