From 4e5fc1949fb86eed92f7af6a2d98b55286d9b0b4 Mon Sep 17 00:00:00 2001 From: Fatih Acet Date: Fri, 29 Mar 2019 16:02:55 +0100 Subject: [PATCH] Show Download diff links in closed MRs Download MR diffs links were only available for open MRs, however it may still be useful for closed MRs. --- .../components/mr_widget_header.vue | 48 ++++++++++--------- ...diff-even-when-merge-request-is-closed.yml | 5 ++ .../components/mr_widget_header_spec.js | 32 +++++-------- 3 files changed, 43 insertions(+), 42 deletions(-) create mode 100644 changelogs/unreleased/29249-show-download-diff-even-when-merge-request-is-closed.yml diff --git a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.vue b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.vue index 50ab7ead582..361441640e1 100644 --- a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.vue +++ b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.vue @@ -109,29 +109,31 @@ export default { > -
- - {{ s__('mrWidget|Open in Web IDE') }} - - +
+