adds setting to allow images for proposals and investment projects

This commit is contained in:
decabeza
2017-12-06 20:44:43 +01:00
parent 83c23c35c4
commit cbaf1ae6c1
4 changed files with 4 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ en:
recommendations: Recommendeds recommendations: Recommendeds
community: Community on proposals and investments community: Community on proposals and investments
map: Proposals and budget investments geolocation map: Proposals and budget investments geolocation
allow_images: Allow upload and show images
map_latitude: Latitude map_latitude: Latitude
map_longitude: Longitude map_longitude: Longitude
map_zoom: Zoom map_zoom: Zoom

View File

@@ -43,6 +43,7 @@ es:
recommendations: Recomendaciones recommendations: Recomendaciones
community: Comunidad en propuestas y proyectos de inversión community: Comunidad en propuestas y proyectos de inversión
map: Geolocalización de propuestas y proyectos de inversión map: Geolocalización de propuestas y proyectos de inversión
allow_images: Permitir subir y mostrar imágenes
map_latitude: Latitud map_latitude: Latitud
map_longitude: Longitud map_longitude: Longitud
map_zoom: Zoom map_zoom: Zoom

View File

@@ -50,6 +50,7 @@ section "Creating Settings" do
Setting.create(key: 'feature.user.recommendations', value: "true") Setting.create(key: 'feature.user.recommendations', value: "true")
Setting.create(key: 'feature.community', value: "true") Setting.create(key: 'feature.community', value: "true")
Setting.create(key: 'feature.map', value: "true") Setting.create(key: 'feature.map', value: "true")
Setting.create(key: 'feature.allow_images', value: "true")
Setting.create(key: 'feature.public_stats', value: "true") Setting.create(key: 'feature.public_stats', value: "true")
Setting.create(key: 'per_page_code_head', value: "") Setting.create(key: 'per_page_code_head', value: "")
Setting.create(key: 'per_page_code_body', value: "") Setting.create(key: 'per_page_code_body', value: "")

View File

@@ -83,6 +83,7 @@ Setting['feature.legislation'] = true
Setting['feature.user.recommendations'] = true Setting['feature.user.recommendations'] = true
Setting['feature.community'] = true Setting['feature.community'] = true
Setting['feature.map'] = nil Setting['feature.map'] = nil
Setting['feature.allow_images'] = true
# Spending proposals feature flags # Spending proposals feature flags
Setting['feature.spending_proposal_features.voting_allowed'] = nil Setting['feature.spending_proposal_features.voting_allowed'] = nil