decidim-conferences 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 (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/app/assets/images/decidim/conferences/conference.svg +1 -3
  4. data/app/cells/decidim/conferences/conference_m/footer.erb +1 -1
  5. data/app/cells/decidim/conferences/conference_speaker/show.erb +2 -2
  6. data/app/cells/decidim/conferences/content_blocks/highlighted_conferences/show.erb +9 -10
  7. data/app/cells/decidim/conferences/media_link/show.erb +2 -2
  8. data/app/cells/decidim/conferences/partner_cell.rb +1 -1
  9. data/app/cells/decidim/conferences/photo/show.erb +3 -5
  10. data/app/cells/decidim/conferences/photo_cell.rb +2 -2
  11. data/app/cells/decidim/conferences/photos_list/show.erb +1 -1
  12. data/app/cells/decidim/conferences/registration_type/join_conference.erb +1 -1
  13. data/app/commands/decidim/conferences/admin/create_conference.rb +3 -3
  14. data/app/commands/decidim/conferences/admin/create_conference_admin.rb +2 -1
  15. data/app/commands/decidim/conferences/admin/notify_role_assigned_to_conference.rb +22 -0
  16. data/app/commands/decidim/conferences/admin/update_conference.rb +3 -3
  17. data/app/commands/decidim/conferences/admin/update_conference_admin.rb +2 -1
  18. data/app/controllers/concerns/decidim/conferences/admin/filterable.rb +27 -0
  19. data/app/controllers/decidim/conferences/admin/conference_registrations_controller.rb +2 -1
  20. data/app/controllers/decidim/conferences/admin/conference_speakers_controller.rb +2 -1
  21. data/app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb +2 -1
  22. data/app/controllers/decidim/conferences/admin/conferences_controller.rb +4 -4
  23. data/app/controllers/decidim/conferences/admin/media_links_controller.rb +2 -1
  24. data/app/controllers/decidim/conferences/admin/partners_controller.rb +2 -1
  25. data/app/controllers/decidim/conferences/admin/registration_types_controller.rb +2 -1
  26. data/app/events/decidim/conferences/conference_role_assigned_event.rb +30 -0
  27. data/app/jobs/decidim/conferences/admin/send_conference_diploma_job.rb +1 -1
  28. data/app/models/decidim/conference.rb +25 -0
  29. data/app/models/decidim/conference_user_role.rb +1 -1
  30. data/app/permissions/decidim/conferences/permissions.rb +9 -0
  31. data/app/presenters/decidim/conferences/conference_stats_presenter.rb +1 -1
  32. data/app/types/decidim/conferences/conference_media_link_type.rb +19 -0
  33. data/app/types/decidim/conferences/conference_partner_type.rb +20 -0
  34. data/app/types/decidim/conferences/conference_speaker_type.rb +24 -0
  35. data/app/types/decidim/conferences/conference_type.rb +45 -0
  36. data/app/views/decidim/conferences/_order_by_conferences.html.erb +1 -1
  37. data/app/views/decidim/conferences/admin/conference_invites/index.html.erb +2 -2
  38. data/app/views/decidim/conferences/admin/conference_speakers/index.html.erb +3 -2
  39. data/app/views/decidim/conferences/admin/conference_user_roles/index.html.erb +1 -0
  40. data/app/views/decidim/conferences/admin/conferences/index.html.erb +7 -3
  41. data/app/views/decidim/conferences/admin/partners/index.html.erb +1 -0
  42. data/app/views/decidim/conferences/admin/registration_types/index.html.erb +1 -0
  43. data/app/views/decidim/conferences/conference_program/_program_item.html.erb +6 -4
  44. data/app/views/decidim/conferences/conference_program/show.html.erb +6 -6
  45. data/app/views/decidim/conferences/conference_registration_mailer/confirmation.html.erb +1 -1
  46. data/app/views/decidim/conferences/conference_registration_mailer/pending_validation.html.erb +1 -1
  47. data/app/views/decidim/conferences/conference_speakers/index.html.erb +1 -1
  48. data/app/views/decidim/conferences/conferences/_partners.html.erb +1 -1
  49. data/app/views/decidim/conferences/conferences/_promoted_conference.html.erb +3 -3
  50. data/app/views/decidim/conferences/conferences/show.html.erb +7 -13
  51. data/app/views/decidim/conferences/media/index.html.erb +3 -3
  52. data/app/views/layouts/decidim/_conference_hero.html.erb +4 -8
  53. data/app/views/layouts/decidim/_conferences_nav.html.erb +2 -2
  54. data/app/views/layouts/decidim/admin/conference.html.erb +2 -2
  55. data/app/views/layouts/decidim/conference.html.erb +3 -5
  56. data/config/locales/ar.yml +4 -2
  57. data/config/locales/bg-BG.yml +7 -0
  58. data/config/locales/ca.yml +9 -0
  59. data/config/locales/cs.yml +16 -7
  60. data/config/locales/da-DK.yml +1 -0
  61. data/config/locales/de.yml +9 -0
  62. data/config/locales/el-GR.yml +1 -0
  63. data/config/locales/el.yml +580 -0
  64. data/config/locales/en.yml +9 -0
  65. data/config/locales/es-MX.yml +9 -0
  66. data/config/locales/es-PY.yml +9 -0
  67. data/config/locales/es.yml +9 -0
  68. data/config/locales/et-EE.yml +1 -0
  69. data/config/locales/fi-plain.yml +9 -0
  70. data/config/locales/fi.yml +13 -4
  71. data/config/locales/fr-CA.yml +580 -0
  72. data/config/locales/fr.yml +9 -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 +5 -1
  76. data/config/locales/is-IS.yml +1 -0
  77. data/config/locales/it.yml +168 -159
  78. data/config/locales/ja-JP.yml +575 -0
  79. data/config/locales/lt-LT.yml +1 -0
  80. data/config/locales/lv-LV.yml +584 -0
  81. data/config/locales/mt-MT.yml +1 -0
  82. data/config/locales/nl.yml +9 -0
  83. data/config/locales/no.yml +566 -0
  84. data/config/locales/pl.yml +192 -182
  85. data/config/locales/pt-BR.yml +1 -1
  86. data/config/locales/pt.yml +238 -229
  87. data/config/locales/ro-RO.yml +536 -0
  88. data/config/locales/sk-SK.yml +585 -0
  89. data/config/locales/sk.yml +585 -0
  90. data/config/locales/sl.yml +37 -0
  91. data/config/locales/sr-CS.yml +19 -0
  92. data/config/locales/sv.yml +22 -13
  93. data/db/migrate/20200320105913_index_foreign_keys_in_decidim_conferences.rb +7 -0
  94. data/db/migrate/20200320105914_index_foreign_keys_in_decidim_conferences_conference_invites.rb +7 -0
  95. data/db/migrate/20200320105915_index_foreign_keys_in_decidim_conferences_conference_registrations.rb +7 -0
  96. data/db/seeds/city.jpeg +0 -0
  97. data/db/seeds/city2.jpeg +0 -0
  98. data/lib/decidim/conferences/participatory_space.rb +10 -1
  99. data/lib/decidim/conferences/test/factories.rb +16 -0
  100. data/lib/decidim/conferences/version.rb +1 -1
  101. metadata +39 -12
  102. data/app/views/decidim/conferences/conference_widgets/show.html.erb +0 -11
@@ -1,11 +0,0 @@
1
- <% content_for(:header, "false") %>
2
- <% content_for(:title, translated_attribute(model.title)) %>
3
- <p class="card__desc"><%= decidim_sanitize html_truncate(translated_attribute(model.short_description), length: 630, separator: "...") %></p>
4
- <% content_for(:footer) do %>
5
- <div class="card__support">
6
- <span class="card--process__small"></span>
7
- <%= link_to conference_path(model), class: "card__button button small" do %>
8
- <%= t("conference_widgets.show.take_part", scope: "layouts.decidim") %>
9
- <% end %>
10
- </div>
11
- <% end %>