2019-08-18 14:51:37 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
2024-01-26 17:35:00 +01:00
|
|
|
<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">
|
2019-09-11 21:03:40 +02:00
|
|
|
<meta name="turbolinks-cache-control" content="no-cache">
|
|
|
|
|
|
2022-06-05 11:40:43 +02:00
|
|
|
<%= render 'layouts/set_js_locale' %>
|
|
|
|
|
|
2023-05-19 17:47:01 +02:00
|
|
|
<%= 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 %>
|
|
|
|
|
|
2019-08-24 20:04:53 +02:00
|
|
|
<%= 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>
|