Add new settings tab for participation processes

- Rename setting keys
- New tab por participation processes
- Hide these settings from features tab
This commit is contained in:
Julian Herrero
2019-03-13 12:41:42 +01:00
parent 1ece761beb
commit c82b2a975a
34 changed files with 188 additions and 143 deletions

View File

@@ -26,18 +26,20 @@ section "Creating Settings" do
Setting.create(key: "url", value: "http://localhost:3000")
Setting.create(key: "org_name", value: "CONSUL")
Setting.create(key: "feature.debates", value: "true")
Setting.create(key: "feature.proposals", value: "true")
Setting.create(key: "feature.featured_proposals", value: nil)
Setting.create(key: "feature.polls", value: "true")
Setting.create(key: "process.debates", value: "true")
Setting.create(key: "process.proposals", value: "true")
Setting.create(key: "process.polls", value: "true")
Setting.create(key: "process.budgets", value: "true")
Setting.create(key: "process.legislation", value: "true")
Setting.create(key: "feature.featured_proposals", value: "true")
Setting.create(key: "feature.spending_proposals", value: nil)
Setting.create(key: "feature.spending_proposal_features.voting_allowed", value: nil)
Setting.create(key: "feature.budgets", value: "true")
Setting.create(key: "feature.twitter_login", value: "true")
Setting.create(key: "feature.facebook_login", value: "true")
Setting.create(key: "feature.google_login", value: "true")
Setting.create(key: "feature.signature_sheets", value: "true")
Setting.create(key: "feature.legislation", value: "true")
Setting.create(key: "feature.user.recommendations", value: "true")
Setting.create(key: "feature.user.recommendations_on_debates", value: "true")
Setting.create(key: "feature.user.recommendations_on_proposals", value: "true")