summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-12-31 19:24:40 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-12-31 19:24:40 +0100
commitfe5c5b24c462243fcb7c13b3f380378d8935fba2 (patch)
tree0305a6deee63ec0dbf6405e7b89fb0329cabf964 /app/views/layouts
parent5286e295a5ba141a547475e2c555335d4297fdcb (diff)
Updated views.
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