Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsamdbeckham <sbeckham@gitlab.com>2018-06-01 17:01:37 +0300
committersamdbeckham <sbeckham@gitlab.com>2018-06-01 17:01:37 +0300
commit4963303fae5dbb5580c101db2c16555f36d07c3b (patch)
treebec149b3adf793ca3633214cb9505ba9febfece5 /app/views/shared/_delete_label_modal.html.haml
parent72702275373d466f0f55c925e05c34bba1326761 (diff)
Updates a load of modal headers to use better markup
Diffstat (limited to 'app/views/shared/_delete_label_modal.html.haml')
-rw-r--r--app/views/shared/_delete_label_modal.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/shared/_delete_label_modal.html.haml b/app/views/shared/_delete_label_modal.html.haml
index 01effefc34d..b96380923ac 100644
--- a/app/views/shared/_delete_label_modal.html.haml
+++ b/app/views/shared/_delete_label_modal.html.haml
@@ -2,8 +2,9 @@
.modal-dialog
.modal-content
.modal-header
- %button.close{ data: {dismiss: 'modal' } } &times;
%h3.page-title Delete #{render_colored_label(label, tooltip: false)} ?
+ %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
+ %span{ "aria-hidden": true } &times;
.modal-body
%p