Files
astuto/app/views/layouts/application.html.erb

42 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-08-18 14:51:37 +02:00
<!DOCTYPE html>
<html>
<head>
<title><%= render 'layouts/page_title' %></title>
2022-07-18 10:47:54 +02:00
2019-08-18 14:51:37 +02:00
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
2019-09-19 16:42:43 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="turbolinks-cache-control" content="no-cache">
<%= render 'layouts/set_js_locale' %>
<%= javascript_include_tag "application", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
2024-03-02 18:36:22 +01:00
<%= favicon_link_tag asset_path('favicon.png') %>
2019-08-18 14:51:37 +02:00
</head>
<body>
2024-05-03 18:11:07 +02:00
<% if @tenant and not @tenant.tenant_billing.has_active_subscription? and (user_signed_in? and current_user.owner?) %>
<%= render 'layouts/no_active_subscription_banner' %>
<% end %>
2022-07-18 10:47:54 +02:00
<% if @tenant %>
<%= render 'layouts/header' %>
<% end %>
<%= render 'layouts/alerts' %>
2019-08-19 16:43:32 +02:00
<div class="container">
<%= yield %>
</div>
2024-01-23 18:50:42 +01:00
<% if @tenant and not @tenant.tenant_setting.custom_css.blank? %>
<style type="text/css">
<%= @tenant.tenant_setting.custom_css %>
</style>
<% end %>
2019-08-18 14:51:37 +02:00
</body>
</html>