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 Refactor buttons 2015-03-14 00:29:32 -07:00
_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 Hide password in the service settings form 2015-10-02 12:48:57 +03:00
_file_highlight.html.haml Properly handle bigger files 2016-04-28 21:28:39 +02:00
_group_form.html.haml Use consistent casing for form field labels 2015-12-02 14:41:54 +01:00
_group_tips.html.haml Add permission level to groups 2016-03-10 10:38:36 -03:00
_import_form.html.haml Increase project import timeout from 4 minutes to 15 minutes 2016-02-04 13:41:42 -06:00
_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 Prevent rasterization artefacts in the logo, and simplify markup. 2016-02-08 04:25:50 +00:00
_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 sort milestones by due_date 2015-12-03 08:53:34 -06:00
_milestones_filter.html.haml Use top-area component for top page navigation for pages that contains list of items 2016-02-03 18:41:55 +01:00
_new_commit_form.html.haml Automatically fork a project when not allowed to edit a file. 2015-12-18 10:03:34 +01:00
_new_project_item_select.html.haml Remove unnecessary icons from buttons 2016-06-08 17:32:49 +03:00
_no_password.html.haml LDAP users don't need to set a password to Git over HTTP. 2015-02-23 20:04:18 -08:00
_no_ssh.html.haml Remove `Profile::KeysController#new` action 2016-03-03 16:13:59 -05:00
_outdated_browser.html.haml
_project_limit.html.haml Project limit is reached warning is hidden when the projects_limit is zero 2016-02-19 09:27:43 +01:00
_promo.html.haml Substituted deprecated forum link with project issues link. [ci skip] 2016-01-25 13:10:11 -06:00
_ref_switcher.html.haml Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
_service_settings.html.haml add slack notifications for wiki pages 2016-04-20 08:25:40 +08:00
_show_aside.html.haml Fix wrong placement of show-aside link 2015-04-27 00:43:02 +02:00
_sort_dropdown.html.haml Sort by label priority 2016-06-06 11:59:49 -05:00
_visibility_level.html.haml Add new admin settings 2015-04-26 07:48:19 -06:00
_visibility_radios.html.haml Fork visibility level fix 2015-07-06 17:40:33 +03:00