decidim-meetings 0.19.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_meetings_manifest.js +1 -0
  3. data/app/assets/images/decidim/gamification/badges/attended_meetings.svg +1 -106
  4. data/app/assets/images/decidim/meetings/icon.svg +1 -5
  5. data/app/assets/javascripts/decidim/meetings/admin/destroy_meeting_alert.js.es6 +16 -0
  6. data/app/cells/decidim/meetings/highlighted_meetings_for_component/show.erb +7 -7
  7. data/app/cells/decidim/meetings/join_meeting_button/show.erb +2 -2
  8. data/app/cells/decidim/meetings/meeting_cell.rb +2 -1
  9. data/app/cells/decidim/meetings/meeting_list_item/show.erb +3 -3
  10. data/app/cells/decidim/meetings/meeting_list_item_cell.rb +1 -1
  11. data/app/cells/decidim/meetings/meeting_m/date.erb +1 -1
  12. data/app/cells/decidim/meetings/meeting_m/footer.erb +1 -1
  13. data/app/cells/decidim/meetings/meeting_m/multiple_dates.erb +1 -1
  14. data/app/cells/decidim/meetings/meeting_m_cell.rb +2 -2
  15. data/app/cells/decidim/meetings/meeting_s/show.erb +6 -6
  16. data/app/commands/decidim/meetings/admin/destroy_meeting.rb +6 -1
  17. data/app/commands/decidim/meetings/join_meeting.rb +11 -0
  18. data/app/controllers/decidim/meetings/admin/meeting_closes_controller.rb +2 -0
  19. data/app/controllers/decidim/meetings/admin/meetings_controller.rb +10 -0
  20. data/app/controllers/decidim/meetings/calendars_controller.rb +1 -0
  21. data/app/controllers/decidim/meetings/directory/meetings_controller.rb +1 -1
  22. data/app/controllers/decidim/meetings/registrations_controller.rb +1 -1
  23. data/app/forms/decidim/meetings/admin/close_meeting_form.rb +7 -1
  24. data/app/helpers/decidim/meetings/application_helper.rb +1 -0
  25. data/app/helpers/decidim/meetings/map_helper.rb +2 -1
  26. data/app/helpers/decidim/meetings/meetings_helper.rb +1 -1
  27. data/app/models/decidim/meetings/meeting.rb +18 -0
  28. data/app/presenters/decidim/meetings/meeting_presenter.rb +14 -3
  29. data/app/queries/decidim/meetings/filtered_meetings.rb +37 -0
  30. data/app/queries/decidim/meetings/metrics/meetings_metric_manage.rb +2 -8
  31. data/app/services/decidim/meetings/calendar/meeting_to_event.rb +3 -3
  32. data/app/types/decidim/meetings/agenda_item_type.rb +28 -0
  33. data/app/types/decidim/meetings/agenda_type.rb +25 -0
  34. data/app/types/decidim/meetings/meeting_type.rb +35 -8
  35. data/app/types/decidim/meetings/meetings_type.rb +1 -1
  36. data/app/types/decidim/meetings/minutes_type.rb +26 -0
  37. data/app/types/decidim/meetings/service_type.rb +13 -0
  38. data/app/views/decidim/meetings/_calendar_modal.html.erb +4 -4
  39. data/app/views/decidim/meetings/admin/invites/index.html.erb +2 -2
  40. data/app/views/decidim/meetings/admin/meeting_closes/_form.html.erb +1 -6
  41. data/app/views/decidim/meetings/admin/meeting_closes/proposals_picker.html.erb +1 -0
  42. data/app/views/decidim/meetings/admin/meetings/_form.html.erb +4 -1
  43. data/app/views/decidim/meetings/admin/meetings/index.html.erb +18 -1
  44. data/app/views/decidim/meetings/admin/registrations/_form.html.erb +4 -0
  45. data/app/views/decidim/meetings/directory/meetings/index.html.erb +5 -3
  46. data/app/views/decidim/meetings/meetings/_filters.html.erb +12 -4
  47. data/app/views/decidim/meetings/meetings/_linked_meetings.html.erb +2 -2
  48. data/app/views/decidim/meetings/meetings/_meeting_agenda.html.erb +2 -2
  49. data/app/views/decidim/meetings/meetings/_meeting_minutes.html.erb +8 -8
  50. data/app/views/decidim/meetings/meetings/index.html.erb +1 -1
  51. data/app/views/decidim/meetings/meetings/show.html.erb +13 -4
  52. data/app/views/decidim/participatory_processes/participatory_process_groups/_meeting.html.erb +2 -2
  53. data/app/views/decidim/participatory_spaces/_conference_venues.html.erb +1 -1
  54. data/app/views/decidim/participatory_spaces/_upcoming_meeting_for_card.html.erb +1 -3
  55. data/config/locales/ar.yml +4 -0
  56. data/config/locales/bg-BG.yml +29 -0
  57. data/config/locales/ca.yml +15 -1
  58. data/config/locales/cs.yml +18 -0
  59. data/config/locales/da-DK.yml +1 -0
  60. data/config/locales/de.yml +15 -0
  61. data/config/locales/el-GR.yml +1 -0
  62. data/config/locales/el.yml +454 -0
  63. data/config/locales/en.yml +16 -2
  64. data/config/locales/es-MX.yml +16 -2
  65. data/config/locales/es-PY.yml +16 -2
  66. data/config/locales/es.yml +16 -2
  67. data/config/locales/et-EE.yml +1 -0
  68. data/config/locales/eu.yml +2 -2
  69. data/config/locales/fi-plain.yml +14 -0
  70. data/config/locales/fi.yml +41 -27
  71. data/config/locales/fr-CA.yml +454 -0
  72. data/config/locales/fr.yml +6 -0
  73. data/config/locales/ga-IE.yml +1 -0
  74. data/config/locales/hr-HR.yml +1 -0
  75. data/config/locales/hu.yml +14 -2
  76. data/config/locales/is-IS.yml +234 -0
  77. data/config/locales/it.yml +16 -2
  78. data/config/locales/ja-JP.yml +455 -0
  79. data/config/locales/lt-LT.yml +1 -0
  80. data/config/locales/lv-LV.yml +452 -0
  81. data/config/locales/mt-MT.yml +1 -0
  82. data/config/locales/nl.yml +48 -42
  83. data/config/locales/no.yml +446 -0
  84. data/config/locales/pl.yml +20 -1
  85. data/config/locales/pt-BR.yml +1 -1
  86. data/config/locales/pt.yml +186 -171
  87. data/config/locales/ro-RO.yml +459 -0
  88. data/config/locales/ru.yml +52 -0
  89. data/config/locales/sk-SK.yml +463 -0
  90. data/config/locales/sk.yml +463 -0
  91. data/config/locales/sl.yml +10 -0
  92. data/config/locales/sr-CS.yml +13 -0
  93. data/config/locales/sv.yml +11 -5
  94. data/config/locales/uk.yml +0 -2
  95. data/db/migrate/20200320105922_index_foreign_keys_in_decidim_meetings_registrations.rb +7 -0
  96. data/lib/decidim/api/linked_resources_interface.rb +17 -0
  97. data/lib/decidim/api/services_interface.rb +19 -0
  98. data/lib/decidim/meetings.rb +1 -0
  99. data/lib/decidim/meetings/admin_engine.rb +3 -1
  100. data/lib/decidim/meetings/api.rb +8 -0
  101. data/lib/decidim/meetings/component.rb +6 -3
  102. data/lib/decidim/meetings/engine.rb +0 -4
  103. data/lib/decidim/meetings/seeds/city.jpeg +0 -0
  104. data/lib/decidim/meetings/version.rb +1 -1
  105. data/lib/tasks/decidim_meetings.rake +16 -0
  106. metadata +53 -18
  107. data/app/views/decidim/meetings/meeting_widgets/show.html.erb +0 -9
@@ -1,9 +0,0 @@
1
- <%= content_for(:title, present(model).title) %>
2
- <%= render partial: "decidim/meetings/meetings/datetime", locals: { meeting: model } %>
3
- <%= decidim_sanitize meeting_description(model) %>
4
- <div class="address card__extra">
5
- <div class="address__icon">
6
- <%= icon "meetings", remove_icon_class: true, width: 40, height: 70 %>
7
- </div>
8
- <%= render partial: "decidim/shared/address_details", locals: { icon_name: "meetings", geolocalizable: model } %>
9
- </div>