diff --git a/app/views/components/_ticket_card.html.erb b/app/views/components/_ticket_card.html.erb
index 8a62310..11fe4d5 100755
--- a/app/views/components/_ticket_card.html.erb
+++ b/app/views/components/_ticket_card.html.erb
@@ -21,8 +21,8 @@
<% else %>
-
- <%= remaining %> disponibles
+
+ <%= remaining %>
<% end %>
@@ -61,4 +61,4 @@
<% end %>
-
\ No newline at end of file
+
diff --git a/app/views/events/show.html.erb b/app/views/events/show.html.erb
index 242f596..e173880 100755
--- a/app/views/events/show.html.erb
+++ b/app/views/events/show.html.erb
@@ -56,7 +56,7 @@
<% if @event.geocoding_status_message %>
@@ -69,26 +69,26 @@
<% end %>
Ouvrir dans :
- <%
+ <%
encoded_address = URI.encode_www_form_component(@event.venue_address)
lat = @event.latitude
lng = @event.longitude
-
+
map_providers = {
"OpenStreetMap" => "https://www.openstreetmap.org/?mlat=#{lat}&mlon=#{lng}#map=16/#{lat}/#{lng}",
"Google Maps" => "https://www.google.com/maps/search/#{encoded_address}/@#{lat},#{lng},16z",
"Apple Plans" => "https://maps.apple.com/?address=#{encoded_address}&ll=#{lat},#{lng}"
}
-
+
icons = {
"OpenStreetMap" => "πΊοΈ",
- "Google Maps" => "π",
+ "Google Maps" => "π",
"Apple Plans" => "π"
}
%>
-
+
<% map_providers.each do |name, url| %>
- <%= link_to url, target: "_blank", rel: "noopener",
+ <%= link_to url, target: "_blank", rel: "noopener",
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-gray-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors" do %>
<%= icons[name] %>
<%= name %>
@@ -143,7 +143,7 @@
Billets disponibles
-
+
<% if @event.ticket_types.any? %>
<% @event.ticket_types.each do |ticket_type| %>