develop #3
@@ -148,7 +148,7 @@ class OrdersController < ApplicationController
|
|||||||
def retry_payment
|
def retry_payment
|
||||||
unless @order.can_retry_payment?
|
unless @order.can_retry_payment?
|
||||||
redirect_to event_path(@order.event.slug, @order.event),
|
redirect_to event_path(@order.event.slug, @order.event),
|
||||||
alert: "Cette commande ne peut plus être payée"
|
alert: "Cette commande ne peut plus être payée"
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="flex items-center h-16 justify-between">
|
<div class="flex items-center h-16 justify-between">
|
||||||
<!-- Logo -->
|
<!-- Logo -->
|
||||||
<div class="flex-shrink-0 flex items-center">
|
<div class="flex-shrink-0 flex items-center">
|
||||||
<%= link_to Rails.application.config.app_name, current_user ? "/dashboard" : "/",
|
<%= link_to Rails.application.config.app_name, "/",
|
||||||
class: "text-2xl font-display font-bold text-gray-900 hover:text-brand-primary transition-colors" %>
|
class: "text-2xl font-display font-bold text-gray-900 hover:text-brand-primary transition-colors" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -14,6 +14,11 @@
|
|||||||
Événements & Afterworks
|
Événements & Afterworks
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<%= link_to dashboard_path,
|
||||||
|
class: "text-gray-700 hover:text-brand-primary py-2 text-sm font-medium transition-colors duration-200 relative after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-0 hover:after:w-full after:bg-brand-primary after:transition-all after:duration-200" do %>
|
||||||
|
Tableau de bord
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<!-- <%= link_to "#",
|
<!-- <%= link_to "#",
|
||||||
class: "text-gray-700 hover:text-brand-primary py-2 text-sm font-medium transition-colors duration-200 relative after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-0 hover:after:w-full after:bg-brand-primary after:transition-all after:duration-200" do %>
|
class: "text-gray-700 hover:text-brand-primary py-2 text-sm font-medium transition-colors duration-200 relative after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-0 hover:after:w-full after:bg-brand-primary after:transition-all after:duration-200" do %>
|
||||||
Concerts
|
Concerts
|
||||||
@@ -85,6 +90,13 @@
|
|||||||
<i data-lucide="calendar" class="w-4 h-4 mr-3"></i>
|
<i data-lucide="calendar" class="w-4 h-4 mr-3"></i>
|
||||||
Événements & Afterworks
|
Événements & Afterworks
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<%= link_to dashboard_path,
|
||||||
|
class: "flex items-center px-3 py-2 rounded-lg text-base font-medium text-gray-700 hover:text-brand-primary hover:bg-gray-50" do %>
|
||||||
|
<i data-lucide="calendar" class="w-4 h-4 mr-3"></i>
|
||||||
|
Tableau de bord
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<!-- <%= link_to events_path,
|
<!-- <%= link_to events_path,
|
||||||
class: "flex items-center px-3 py-2 rounded-lg text-base font-medium text-gray-700 hover:text-brand-primary hover:bg-gray-50" do %>
|
class: "flex items-center px-3 py-2 rounded-lg text-base font-medium text-gray-700 hover:text-brand-primary hover:bg-gray-50" do %>
|
||||||
<i data-lucide="glass-water" class="w-4 h-4 mr-3"></i>
|
<i data-lucide="glass-water" class="w-4 h-4 mr-3"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user