diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-02-25 17:57:06 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-02-25 17:57:06 +0200 |
commit | cc2f010d136835b563870f39f248f5cc4dcb597b (patch) | |
tree | 89228146f969cc352b82aa74f12ec06e833b4aa9 | |
parent | 2a5172863e3a71519ef344e1a72c970c0a7b6330 (diff) | |
download | gitlab-ci-cc2f010d136835b563870f39f248f5cc4dcb597b.tar.gz |
button edit job instead of edit project
-rw-r--r-- | app/views/builds/show.html.haml | 4 | ||||
-rw-r--r-- | app/views/commits/show.html.haml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/builds/show.html.haml b/app/views/builds/show.html.haml index 9d8a933..92ad2f5 100644 --- a/app/views/builds/show.html.haml +++ b/app/views/builds/show.html.haml @@ -4,9 +4,9 @@ = @commit.short_sha - if current_user.can_manage_project?(@project.gitlab_id) .pull-right - = link_to edit_project_path(@project), class: "btn btn-default btn-small" do + = link_to project_jobs_path(@project), class: "btn btn-default btn-small" do %i.icon-edit.icon-white - Edit Project + Edit Job %p = link_to project_commit_path(@project, @build.commit) do diff --git a/app/views/commits/show.html.haml b/app/views/commits/show.html.haml index 75f7936..184cf27 100644 --- a/app/views/commits/show.html.haml +++ b/app/views/commits/show.html.haml @@ -3,9 +3,9 @@ @ #{gitlab_commit_link(@project, @commit.sha)} .pull-right - = link_to edit_project_path(@project), class: "btn btn-default btn-small" do + = link_to project_jobs_path(@project), class: "btn btn-default btn-small" do %i.icon-edit.icon-white - Edit Project + Edit Job %p = link_to project_path(@project) do |