Sha256: ee6d166a7b0d7e69fb274838cffd3854c4735b7e967a65532fb180c253ce1d2c

Contents?: true

Size: 595 Bytes

Versions: 5

Compression:

Stored size: 595 Bytes

Contents

<% content_for(:javascripts) do %>
  <%= webpacked_plugins_js_for :foreman_statistics %>
<% end %>
<% content_for(:stylesheets) do %>
  <%= webpacked_plugins_css_for :foreman_statistics %>
<% end %>

<% content_for(:content) do %>
  <%= notifications %>
  <div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
  <div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
  <div id="foremanStatisticsRoot"></div>
<% end %>
<%= render file: "layouts/base" %>
<%= mount_react_component('ForemanStatistics', '#foremanStatisticsRoot') %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_statistics-1.0.0 app/views/foreman_statistics/layouts/application_react.html.erb
foreman_statistics-0.1.3 app/views/foreman_statistics/layouts/application_react.html.erb
foreman_statistics-0.1.2 app/views/foreman_statistics/layouts/application_react.html.erb
foreman_statistics-0.1.1 app/views/foreman_statistics/layouts/application_react.html.erb
foreman_statistics-0.1.0 app/views/foreman_statistics/layouts/application_react.html.erb