diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-02-10 01:07:11 -0600 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-02-10 01:10:35 -0600 |
commit | be88e942a85a51ad267502e577ee578f58f3f226 (patch) | |
tree | 0e2e3794faf084f9915d1dae9db208bfa6dcf94f /app/views/projects/merge_requests/widget | |
parent | 57d5a5499cc4248176e3740c3aae3fa99be00752 (diff) | |
download | gitlab-ce-be88e942a85a51ad267502e577ee578f58f3f226.tar.gz |
Show Pipeline(not Job) in MR desktop notification
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27955
Diffstat (limited to 'app/views/projects/merge_requests/widget')
-rw-r--r-- | app/views/projects/merge_requests/widget/_show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/merge_requests/widget/_show.html.haml b/app/views/projects/merge_requests/widget/_show.html.haml index 5de59473840..4c063747857 100644 --- a/app/views/projects/merge_requests/widget/_show.html.haml +++ b/app/views/projects/merge_requests/widget/_show.html.haml @@ -16,13 +16,13 @@ gitlab_icon: "#{asset_path 'gitlab_logo.png'}", ci_status: "#{@merge_request.head_pipeline ? @merge_request.head_pipeline.status : ''}", ci_message: { - normal: "Job {{status}} for \"{{title}}\"", + normal: "Pipeline {{status}} for \"{{title}}\"", preparing: "{{status}} job for \"{{title}}\"" }, ci_enable: #{@project.ci_service ? "true" : "false"}, ci_title: { preparing: "{{status}} job", - normal: "Job {{status}}" + normal: "Pipeline {{status}}" }, ci_sha: "#{@merge_request.head_pipeline ? @merge_request.head_pipeline.short_sha : ''}", ci_pipeline: #{@merge_request.head_pipeline.try(:id).to_json}, |