Skip to content

Commit

Permalink
add close buttons to this modal (#3328)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Feb 2, 2024
1 parent 3b6fa19 commit 795a90b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="formPrefillErrorLabel"><%= t('dashboard.batch_connect_form_prefill_error') %></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<div class="modal-title h5" id="formPrefillErrorLabel"><%= t('dashboard.batch_connect_form_prefill_error') %></div>
<button type="button" class="close" data-dismiss="modal" aria-label="<%= t('dashboard.close') %>">
<span aria-hidden="true">&times;</span>
</button>
</div>
Expand All @@ -28,7 +28,10 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="chooseTemplateNameLabel"><%= t('dashboard.batch_connect_form_choose_template_name') %></h5>
<div class="modal-title h5" id="chooseTemplateNameLabel"><%= t('dashboard.batch_connect_form_choose_template_name') %></div>
<button type="button" class="close" data-dismiss="modal" aria-label="<%= t('dashboard.close') %>">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<select class="form-control selectpicker" id="modal_input_template_name">
Expand All @@ -41,6 +44,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="batch_connect_session_template_choose_name_button"><%= t('dashboard.save') %></button>
<button type="button" class="btn btn-danger" data-dismiss="modal"><%= t('dashboard.close') %></button>
</div>
</div>
</div>
Expand All @@ -50,7 +54,7 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><%= t('dashboard.batch_connect_form_type_new_name_error') %></h5>
<div class="modal-title h5"><%= t('dashboard.batch_connect_form_type_new_name_error') %></div>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,4 @@ en:
show: "Show"
project: "Project"
directory: "Directory"
close: "Close"

0 comments on commit 795a90b

Please sign in to comment.