2019-09-02 14:29:19 +03:00
|
|
|
<div class="container pb-32" data-site-domain="<%= @site.domain %>">
|
2019-09-10 18:51:34 +03:00
|
|
|
<%= if @offer_email_report do %>
|
|
|
|
<div class="text-center bg-blue-lighter text-blue-darkest text-sm font-bold px-4 w-full rounded transition" style="top: 91px" role="alert">
|
2020-02-04 16:44:13 +03:00
|
|
|
<%= link("Click here to enable weekly email reports →", to: "/#{URI.encode_www_form(@site.domain)}/settings#email-reports", class: "py-2 block") %>
|
2019-09-10 18:51:34 +03:00
|
|
|
</div>
|
2019-10-31 08:39:51 +03:00
|
|
|
<% end %>
|
2019-11-19 07:30:42 +03:00
|
|
|
<div class="pt-12"></div>
|
|
|
|
<div id="stats-react-container" data-domain="<%= @site.domain %>" data-offset="<%= Timex.Timezone.total_offset(Timex.Timezone.get(@site.timezone)) %>" data-has-goals="<%= @has_goals %>"></div>
|
|
|
|
<div id="modal_root"></div>
|
|
|
|
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/dashboard.js") %>"></script>
|
2019-09-02 14:29:19 +03:00
|
|
|
</div>
|