diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-17 00:04:29 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-17 00:04:29 +0100 |
commit | 3162a5a2931b7e7fb117d2880ffd348267169fa9 (patch) | |
tree | 61af13fde81935675278c2286a7d4f65599680c4 /app/views/projects/issues | |
parent | 9ede66f619bb030ad351a7abf7b1be2148de7f99 (diff) | |
download | gitlab-ce-3162a5a2931b7e7fb117d2880ffd348267169fa9.tar.gz |
Fix ux issue with "This issue will be closed automatically" messageux/closed-message
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/issues')
-rw-r--r-- | app/views/projects/issues/_closed_by_box.html.haml | 3 | ||||
-rw-r--r-- | app/views/projects/issues/_discussion.html.haml | 3 | ||||
-rw-r--r-- | app/views/projects/issues/show.html.haml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/issues/_closed_by_box.html.haml b/app/views/projects/issues/_closed_by_box.html.haml index 3c491c1a8b8..de415ae51a4 100644 --- a/app/views/projects/issues/_closed_by_box.html.haml +++ b/app/views/projects/issues/_closed_by_box.html.haml @@ -1,3 +1,2 @@ -.issue-closed-by-widget - = icon('check') +.issue-closed-by-widget.gray-content-block.second-block.white This issue will be closed automatically when merge request #{markdown(merge_requests_sentence(@closed_by_merge_requests), pipeline: :gfm)} is accepted. diff --git a/app/views/projects/issues/_discussion.html.haml b/app/views/projects/issues/_discussion.html.haml index 405bae1bbb9..71c7455f711 100644 --- a/app/views/projects/issues/_discussion.html.haml +++ b/app/views/projects/issues/_discussion.html.haml @@ -8,5 +8,8 @@ .gray-content-block.second-block.oneline-block = render 'votes/votes_block', votable: @issue +- if @closed_by_merge_requests.present? + = render 'projects/issues/closed_by_box' + #notes = render 'projects/notes/notes_with_form' diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index 509bad0e5d4..a5d8f367b80 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -54,8 +54,6 @@ .merge-requests = render 'merge_requests' - - if @closed_by_merge_requests.present? - = render 'projects/issues/closed_by_box' .issue-discussion = render 'projects/issues/discussion' |