Sha256: 002d138229e1d86c9d00b6b1b91a533ee8c6d23dd4e6d33d6bf251a8d3aca54d

Contents?: true

Size: 896 Bytes

Versions: 4

Compression:

Stored size: 896 Bytes

Contents

<script>
window.DecidimAwesome = <%= javascript_config_vars %>;
window.DecidimAwesome.editor_uploader_path = "<%= decidim_decidim_awesome.editor_images_path %>";
window.DecidimAwesome.texts = {
  "drag_and_drop_image": "<%= j t(".drag_and_drop_image") %>",
  "autosaved_success": "<%= j t(".autosaved_success") %>",
  "autosaved_error": "<%= j t(".autosaved_error") %>",
  "autosaved_retrieved": "<%= j t(".autosaved_retrieved") %>",
  "categories": "<%= j t(".categories") %>",
  "proposals": "<%= j t(".proposals") %>",
  "meetings": "<%= j t(".meetings") %>",
  "amendments": "<%= j t(".amendments") %>"
}
<% if defined? questionnaire %>
  window.DecidimAwesome.current_questionnaire = "edit_questionnaire_<%= questionnaire.id %>";
  <% if defined? visitor_already_answered? %>
  window.DecidimAwesome.questionnaire_answered = <%= visitor_already_answered? %>;
  <% end %>
<% end %>
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-decidim_awesome-0.6.6 app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb
decidim-decidim_awesome-0.6.5 app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb
decidim-decidim_awesome-0.6.4 app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb
decidim-decidim_awesome-0.6.3 app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb