Sha256: 5dd211442f68d67c4ba3d7d66199c23e197c999c4fc51218577fbc2e1ff85062

Contents?: true

Size: 1.11 KB

Versions: 8

Compression:

Stored size: 1.11 KB

Contents

<%= webpacked_plugins_js_for :foreman_templates %>
<%= webpacked_plugins_css_for :foreman_templates %>

<div id="foreman-templates"/>

<%= mount_react_component('ForemanTemplates',
                          '#foreman-templates',
                          { :apiUrls => {
                              :exportUrl => export_ui_template_syncs_path,
                              :syncSettingsUrl => sync_settings_ui_template_syncs_path,
                              :importUrl => import_ui_template_syncs_path
                              },
                            :validationData => { :repo => ForemanTemplates::Action.repo_start_with },
                            :editPaths => edit_paths,
                            :fileRepoStartWith => ForemanTemplates::Action.file_repo_start_with,
                            :userPermissions => {
                              :import => authorized_for(:controller => :ui_template_syncs, :action => :import),
                              :export => authorized_for(:controller => :ui_template_syncs, :action => :export)
                            }
                          }.to_json )%>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_templates-8.0.0 app/views/template_syncs/index.html.erb
foreman_templates-7.0.6 app/views/template_syncs/index.html.erb
foreman_templates-7.0.5 app/views/template_syncs/index.html.erb
foreman_templates-7.0.4 app/views/template_syncs/index.html.erb
foreman_templates-7.0.3 app/views/template_syncs/index.html.erb
foreman_templates-7.0.2 app/views/template_syncs/index.html.erb
foreman_templates-7.0.1 app/views/template_syncs/index.html.erb
foreman_templates-7.0.0 app/views/template_syncs/index.html.erb