gitlab-org--gitlab-foss/app/views/shared
Rémy Coutable 65df6bcb89 Merge branch '18446-when-this-merge-request-is-accepted-this-issue-will-be-closed-automatically-rendered-twice' into 'master'
Resolve ""When this merge request is accepted, this issue will be closed automatically" rendered twice"

## What does this MR do?

1. Only show the above text when there is an MR that will close the issue, and even then, only show it once.
2. Apply 98f147e84d2bd8f2278452ac0852118452c76d4a to a bunch of other places that need it.

## Are there points in the code the reviewer needs to double check?

¯\_(ツ)_/¯

## Why was this MR needed?

Some pages were broken.

## What are the relevant issue numbers?

Fixes #18446.

## Screenshots (if relevant)

Before:
![image](/uploads/23cfaf95b7c798f22963ff67f78a803b/image.png)

After:
![image](/uploads/ca9c538069ba52e53858c69387738521/image.png)

## Does this MR meet the acceptance criteria?

- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- [ ] Tests
  - [ ] Added for this feature/bug
  - [ ] All builds are passing
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !4594
2016-06-13 08:47:10 +00:00
..
groups Improve buttons size and paddings in the lists 2016-06-08 20:44:39 +03:00
icons Update activity SVG path 2016-06-09 17:10:10 -05:00
issuable Merge branch 'label-filter-fix' into 'master' 2016-06-10 15:23:39 +00:00
milestones Improve button margin for btn-grouped css class 2016-06-08 18:06:28 +03:00
projects Remove main_language and tests 2016-05-25 17:16:42 -04:00
snippets Merge branch 'separate-banzai-references' into 'master' 2016-06-01 15:51:59 +00:00
web_hooks Backported from EE shared form for web hooks 2016-06-03 11:04:27 +01:00
_choose_group_avatar_button.html.haml
_clone_panel.html.haml Redesign project page header 2016-05-19 13:16:57 -05:00
_commit_message_container.html.haml Added back text used on merge commit message 2016-04-11 17:41:47 +01:00
_confirm_modal.html.haml Move modal css to separate file and fix danger text for confirmation modal 2016-04-29 19:02:30 +02:00
_event_filter.html.haml Add fade out to sub nav 2016-05-25 17:14:28 -05:00
_field.html.haml
_file_highlight.html.haml Properly handle bigger files 2016-04-28 21:28:39 +02:00
_group_form.html.haml
_group_tips.html.haml
_import_form.html.haml
_issues.html.haml Fix style 2016-06-06 11:59:49 -05:00
_label_row.html.haml Updated labels UI 2016-06-09 17:19:14 +01:00
_labels_row.html.haml Updated design 2016-06-08 11:45:17 +01:00
_logo.svg
_merge_requests.html.haml Don't try to count a relation with aliases 2016-06-10 14:29:08 +01:00
_milestone_expired.html.haml
_milestones_filter.html.haml
_new_commit_form.html.haml
_new_project_item_select.html.haml Remove unnecessary icons from buttons 2016-06-08 17:32:49 +03:00
_no_password.html.haml
_no_ssh.html.haml
_outdated_browser.html.haml
_project_limit.html.haml
_promo.html.haml
_ref_switcher.html.haml
_service_settings.html.haml add slack notifications for wiki pages 2016-04-20 08:25:40 +08:00
_show_aside.html.haml
_sort_dropdown.html.haml Sort by label priority 2016-06-06 11:59:49 -05:00
_visibility_level.html.haml
_visibility_radios.html.haml