Module Decidim Emitter allows to create Emitters (meaning a logo and a name) to link with the current Participatory Processes
Emitter will be available as a Component for a Participatory Space.
- Create Emitters
- Link Emitters to Participatory Processes
- Display Emitters on Participatory Processes
- Display Emitters on Participatory Processes index
- Display Emitters on Homepage content blocks
- Display Emitters on Participatory Processes cards
- Copy, Update Participatory processes
Add this line to your application's Gemfile:
gem "decidim-emitter"
Or using Github
gem "decidim-emitter", github: "OpenSourcePolitics/decidim-emitter"
And then execute:
bundle
Configuration allows to skip extends made by the module using initializer
Create config/initializers/decidim_emitter.rb
and add the following:
# frozen_string_literal: true
Decidim::Emitter.configure do |config|
config.exclude_extends = [:participatory_process, :participatory_process_form, :participatory_process_create, :participatory_process_copy, :participatory_process_update]
end
- Move emitter to a dedicated model and use a DB relation to link it to Participatory Processes
Contributions are welcome !
We expect the contributions to follow the Decidim's contribution guide.
Security is very important to us. If you have any issue regarding security, please disclose the information responsibly by sending an email to security [at] opensourcepolitics [dot] eu and not by creating a GitHub issue.
This engine is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE.