diff --git a/app/views/layouts/_admin_header.html.erb b/app/views/layouts/_admin_header.html.erb new file mode 100644 index 000000000..b88dcded4 --- /dev/null +++ b/app/views/layouts/_admin_header.html.erb @@ -0,0 +1,50 @@ +
+ + +
+ +
+ + <% if home_page? %> +
+
+

<%= t("layouts.header.open_city") %>

+

<%= t("layouts.header.open_city_slogan") %>

+ <%= link_to t("layouts.header.see_all_debates"), debates_path, class: 'button radius' %> +
+
+ <% end %> +
diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index b23b3e193..c754951f2 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb @@ -13,7 +13,7 @@ - <%= render 'layouts/header' %> + <%= render 'layouts/admin_header' %> <% if notice %>

<%= notice %>