Sha256: 946a38e48516340e0c712ad08f4a3f94811ee47c746aaf541166acf3f66137eb

Contents?: true

Size: 906 Bytes

Versions: 4

Compression:

Stored size: 906 Bytes

Contents

<script>
window.DecidimAwesome = <%= awesome_config.to_json.html_safe %>;
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.2 app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb
decidim-decidim_awesome-0.6.1 app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb
decidim-decidim_awesome-0.6.0 app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb
decidim-decidim_awesome-0.5.1 app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb