summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_change.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/commit/_change.html.haml')
-rw-r--r--app/views/projects/commit/_change.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/commit/_change.html.haml b/app/views/projects/commit/_change.html.haml
index 430bc8f59f9..30605927fd1 100644
--- a/app/views/projects/commit/_change.html.haml
+++ b/app/views/projects/commit/_change.html.haml
@@ -15,8 +15,9 @@
.modal-dialog
.modal-content
.modal-header
- %a.close{ href: "#", "data-dismiss" => "modal" } ×
%h3.page-title= title
+ %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
+ %span{ "aria-hidden": true } ×
.modal-body
- if description
%p.append-bottom-20= description