Merge remote-tracking branch 'upstream/pull/3778'
This commit is contained in:
commit
a8db515f13
5 changed files with 6 additions and 4 deletions
|
@ -54,6 +54,7 @@ OSM.initializeBrowse = function (map) {
|
|||
.text(I18n.t("browse.start_rjs.load_data")),
|
||||
$("<div>").append(
|
||||
$("<button type='button' class='btn-close'>")
|
||||
.attr("aria-label", I18n.t("javascripts.close"))
|
||||
.click(cancel))),
|
||||
$("<p class='alert alert-warning'>")
|
||||
.text(I18n.t("browse.start_rjs.feature_warning", { num_features: count, max_features: limit })),
|
||||
|
|
|
@ -265,7 +265,8 @@ OSM.Directions = function (map) {
|
|||
}
|
||||
|
||||
var turnByTurnTable = $("<table class='mb-3'>");
|
||||
var directionsCloseButton = $("<button type='button' class='btn-close'>");
|
||||
var directionsCloseButton = $("<button type='button' class='btn-close'>")
|
||||
.attr("aria-label", I18n.t("javascripts.close"));
|
||||
|
||||
$("#sidebar_content")
|
||||
.empty()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="d-flex w-100">
|
||||
<h2 class="flex-grow-1 text-break"><%= title %></h2>
|
||||
<div>
|
||||
<button type="button" class="btn-close"></button>
|
||||
<button type="button" class="btn-close" aria-label="<%= t("javascripts.close") %>"></button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<% unless (banner = next_banner()).nil? %>
|
||||
<%= link_to (image_tag banner[:img], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %>
|
||||
<button type="button" class="btn-close position-absolute top-0 end-0 p-4" id="<%= banner_cookie(banner[:id]) %>"></button>
|
||||
<button type="button" class="btn-close position-absolute top-0 end-0 p-4" id="<%= banner_cookie(banner[:id]) %>" aria-label="<%= t("javascripts.close") %>"></button>
|
||||
<% end %>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</form>
|
||||
|
||||
<form method="GET" action="<%= directions_path %>" class="directions_form pb-3">
|
||||
<div class="d-flex flex-row-reverse px-3 py-3"><button type="button" class="btn-close"></button></div>
|
||||
<div class="d-flex flex-row-reverse px-3 py-3"><button type="button" class="btn-close" aria-label="<%= t("javascripts.close") %>"></button></div>
|
||||
|
||||
<div class="row gx-2 m-1">
|
||||
<div class="col-1">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue