mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
* Add tour * Add instructions to set password for OAuth users * Tenant signup improvement * Fix bug on user soft delete * Slighlty darken background color * Add a stronger confirmation for board deletion
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title><%= render 'layouts/page_title' %></title>
|
|
|
|
<%= csrf_meta_tags %>
|
|
<%= csp_meta_tag %>
|
|
|
|
<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" %>
|
|
|
|
<%= favicon_link_tag asset_path('favicon.png') %>
|
|
</head>
|
|
|
|
<body>
|
|
<% 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 %>
|
|
|
|
<% if Rails.application.multi_tenancy? && request.subdomain == "feedback" %>
|
|
<%= render 'layouts/promo_banner' %>
|
|
<% end %>
|
|
|
|
<% if @tenant %>
|
|
<%= render 'layouts/header' %>
|
|
<% end %>
|
|
|
|
<%= render 'layouts/alerts' %>
|
|
|
|
<div class="container">
|
|
<%= yield %>
|
|
</div>
|
|
|
|
<% if @tenant and not @tenant.tenant_setting.custom_css.blank? %>
|
|
<style type="text/css">
|
|
<%= @tenant.tenant_setting.custom_css %>
|
|
</style>
|
|
<% end %>
|
|
|
|
<% if params[:tour] == 'true' && user_signed_in? && current_user.admin? %>
|
|
<%= react_component('Tour/Tour', { userFullName: current_user.full_name }) %>
|
|
<% end %>
|
|
</body>
|
|
</html>
|