summaryrefslogtreecommitdiff
path: root/app/views/projects/_gitlab_import_modal.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_gitlab_import_modal.html.haml')
-rw-r--r--app/views/projects/_gitlab_import_modal.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/_gitlab_import_modal.html.haml b/app/views/projects/_gitlab_import_modal.html.haml
index 00aef66e1f8..5519415cdc3 100644
--- a/app/views/projects/_gitlab_import_modal.html.haml
+++ b/app/views/projects/_gitlab_import_modal.html.haml
@@ -2,8 +2,9 @@
.modal-dialog
.modal-content
.modal-header
- %a.close{ href: "#", "data-dismiss" => "modal" } ×
- %h3 Import projects from GitLab.com
+ %h3.modal-title Import projects from GitLab.com
+ %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
+ %span{ "aria-hidden": true } ×
.modal-body
To enable importing projects from GitLab.com,
- if current_user.admin?