app/views/foreman_tasks/tasks/index.html.erb in foreman-tasks-0.15.1 vs app/views/foreman_tasks/tasks/index.html.erb in foreman-tasks-0.15.2
- old
+ new
@@ -1,4 +1,17 @@
+<% content_for(:javascripts) do %>
+ <%= webpacked_plugins_js_for :'foreman-tasks' %>
+<% end %>
+<% content_for(:stylesheets) do %>
+ <%= webpacked_plugins_css_for :'foreman-tasks' %>
+<% end %>
+<% content_for(:before_search_bar) do %>
+ <div id="tasks-dashboard"></div>
+ <%= mount_react_component('TasksDashboard', '#tasks-dashboard', {
+ yo: 'ya'
+ }.to_json) %>
+<% end %>
+
<% title _("Tasks") %>
<% title_actions csv_link, help_button %>
<% stylesheet 'foreman_tasks/tasks' %>
<table class="<%= table_css_classes('table-fixed') %>">