summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/_cookies.html.erb8
-rw-r--r--app/views/layouts/_topnav.html.erb3
2 files changed, 9 insertions, 2 deletions
diff --git a/app/views/layouts/_cookies.html.erb b/app/views/layouts/_cookies.html.erb
index 0e6949a..a32549d 100644
--- a/app/views/layouts/_cookies.html.erb
+++ b/app/views/layouts/_cookies.html.erb
@@ -3,6 +3,10 @@
Acceptez les cookies ou contribuer 2 € à la tartiflette de
Nicolas 💸
</p>
- <%= button_to "Accepter les cookies", dismiss_banner_path %>
- <%= button_to "Faire un don", dismiss_banner_path %>
+ <%= image_tag("baboon_cookie_icon.webp",
+ alt: "Baboon pointing at viewer",
+ id: "baboon") %>
+<div class="button-group">
+ <%= button_to "Accepter les cookies", accept_cookies_path %>
+ <%= button_to "Faire un don", gift_nico_path %>
</div>
diff --git a/app/views/layouts/_topnav.html.erb b/app/views/layouts/_topnav.html.erb
index f93ed99..1131b3e 100644
--- a/app/views/layouts/_topnav.html.erb
+++ b/app/views/layouts/_topnav.html.erb
@@ -1,5 +1,8 @@
<nav id="top">
<ul>
<li><%= link_to "Accueil", root_path %></li>
+ <%# if current_user.admin? %>
+ <!-- <li><%= link_to "Admin", admin_dashboard_path %></li> -->
+ <%# end %>
</ul>
</nav>
Copyright 2019--2025 Marius PETER