diff options
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/_cookies.html.erb | 8 | ||||
-rw-r--r-- | app/views/layouts/_topnav.html.erb | 3 |
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> |