summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-02-10 01:07:11 -0600
committerEric Eastwood <contact@ericeastwood.com>2017-02-10 01:10:35 -0600
commitbe88e942a85a51ad267502e577ee578f58f3f226 (patch)
tree0e2e3794faf084f9915d1dae9db208bfa6dcf94f
parent57d5a5499cc4248176e3740c3aae3fa99be00752 (diff)
downloadgitlab-ce-be88e942a85a51ad267502e577ee578f58f3f226.tar.gz
Show Pipeline(not Job) in MR desktop notification
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27955
-rw-r--r--app/views/projects/merge_requests/widget/_show.html.haml4
-rw-r--r--changelogs/unreleased/27955-mr-notification-use-pipeline-language.yml4
2 files changed, 6 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},
diff --git a/changelogs/unreleased/27955-mr-notification-use-pipeline-language.yml b/changelogs/unreleased/27955-mr-notification-use-pipeline-language.yml
new file mode 100644
index 00000000000..d9f78db4bec
--- /dev/null
+++ b/changelogs/unreleased/27955-mr-notification-use-pipeline-language.yml
@@ -0,0 +1,4 @@
+---
+title: Show Pipeline(not Job) in MR desktop notification
+merge_request:
+author: