Senén Rodero Rodríguez
2a12b222ed
Fix some tranlations on new image page. Add missing shared specs for imageable feature.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
ceabd16d57
Refactor. Create index scope inside imageable shared examples to check index action of any imageable model. Add image to proposals index.
2017-09-26 13:55:03 +02:00
Senén Rodero Rodríguez
6f71da07ee
Duplicate documentable code and rename for imageable
2017-09-26 13:55:03 +02:00
Bertocq
614ff79ba1
WIP
2017-09-26 13:53:43 +02:00
Senén Rodero Rodríguez
8ce237805c
Add forgotten translation to locale files.
2017-09-26 13:53:43 +02:00
Senén Rodero Rodríguez
45d907219a
Fix unused translations warning.
2017-09-26 13:53:43 +02:00
Senén Rodero Rodríguez
cf9a7a21cc
Add method to investments helper to calculate absolute url for investments images. Use it in social share widget.
2017-09-26 13:53:43 +02:00
Senén Rodero Rodríguez
66c1074350
Fix spacing
2017-09-26 13:53:43 +02:00
Senén Rodero Rodríguez
ec92749c00
Add image errors to new budget investement form
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
60b3eac305
Relocate some locale entries.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
79ed66ec4c
Rename investment helper method
2017-09-26 13:53:42 +02:00
Alessandro Cuoghi
c89dc90d3a
Added style to text with error.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
4c8d0e05b8
Show errors row on budget investment edit image page only when any image error detected.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
c914c772c0
Add budget investment image dimmensions validator.
2017-09-26 13:53:42 +02:00
Alessandro Cuoghi
ce3193e763
Added style to the button to upload image into budgets/investments/new. Refactor some css into partecipation.scss for pass scss-lint.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
1327b7276d
Create investments helper. Fix indentation error and some specs names and structure.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
4469aa9b32
Allow to remove budget investment image from edit image page to authors and administrators.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
943ef06ec8
Use large version of image on budget investment show page
2017-09-26 13:53:42 +02:00
Alessandro Cuoghi
31bfe0f974
Removed comment and blank spaces
2017-09-26 13:53:42 +02:00
Alessandro Cuoghi
6cde1c1c10
Added upload image button. Created function to show file upload name. Added translation.
2017-09-26 13:53:42 +02:00
Alessandro Cuoghi
4ce8e14f86
Replaced div with tag 'figure' in budget investment show.
2017-09-26 13:53:42 +02:00
Alessandro Cuoghi
dd1e73c5fd
Add image into investment show and add some change of css.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
0925d33c5b
Add dynamic texts to investment image button.
2017-09-26 13:53:42 +02:00
Alessandro Cuoghi
3d13896c9a
Add no image to budget investment’s.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
ce0c0f7024
Allow administrators to edit and update images of any budget investment.
2017-09-26 13:53:42 +02:00
Alessandro Cuoghi
aa471974bd
Use different image versions on responsive sizes
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
51d1031afa
Add recomendations to edit image page with english and spanish translations.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
acc79cbe31
Add edit_image and update_image action to budget/investments controller.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
515d6d7e70
Rename image_description column to image_title on budget investments.
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
673fc66011
Add budget investements images specs
2017-09-26 13:53:42 +02:00
Senén Rodero Rodríguez
534aa4146e
Add optional image_url parameter to social sharing partial.
2017-09-26 13:53:42 +02:00
taitus
7b88e63136
Add image to budget investments.
2017-09-26 13:53:42 +02:00
iagirre
e90ac7e72d
Admins can see the preview of the budgets' results before the balloting phase is finished.
...
Cambios para hacer commit:
modificado: app/models/abilities/administrator.rb
modificado: app/views/budgets/show.html.erb
modificado: spec/models/abilities/administrator_spec.rb
modificado: spec/models/abilities/everyone_spec.rb
2017-09-26 11:16:32 +02:00
BertoCQ
f2e44f0730
Merge pull request #1919 from consul/chore/remove_booth_assignment_officer_totals
...
Remove Officer recounts, add Final&Totals votes
2017-09-26 10:19:57 +02:00
BertoCQ
73c47dcd0e
Merge pull request #1905 from wairbut-m2c/iagirre-autocomplete-tags
...
Iagirre autocomplete tags
2017-09-26 10:19:34 +02:00
decabeza
9de8ef2e14
sets data-multi-open to false on admin menu
2017-09-25 19:40:24 +02:00
BertoCQ
0eb33bbcd4
Merge pull request #1910 from consul/filter-subnav
...
Filter subnav
2017-09-25 19:02:30 +02:00
BertoCQ
a1a74f59bf
Merge pull request #1911 from consul/legislation-process
...
Legislation process SCSS
2017-09-25 19:00:42 +02:00
Bertocq
bf981ca828
Remove Booth Assignment officer totals and add final&system counts
2017-09-25 18:47:44 +02:00
BertoCQ
d449e8ee62
Merge pull request #1875 from consul/admin-design
...
Admin design
2017-09-25 17:23:17 +02:00
iagirre
f7e96067b0
Actions for budgets' headings added. Edit headings, delete headings if not budget investments associated and add link in order to see budgets investments filtered by the heading.
...
Cambios para hacer commit:
modificado: app/controllers/admin/budget_headings_controller.rb
modificado: app/models/budget/heading.rb
nuevo archivo: app/views/admin/budget_headings/_errors.html.erb
nuevo archivo: app/views/admin/budget_headings/edit.js.erb
nuevo archivo: app/views/admin/budget_headings/update.js.erb
modificado: app/views/admin/budgets/_group.html.erb
nuevo archivo: app/views/admin/budgets/_heading.html.erb
nuevo archivo: app/views/admin/budgets/_heading_form.html.erb
modificado: config/locales/en/activerecord.yml
modificado: config/locales/es/activerecord.yml
modificado: spec/features/admin/budgets_spec.rb
modificado: spec/models/budget/heading_spec.rb
2017-09-25 15:40:17 +02:00
decabeza
e404d149ce
fixes some lint errors on legislation_process.scss
2017-09-22 19:10:39 +02:00
decabeza
ad63b0a7d7
makes filter subnav same style than order links
2017-09-22 18:20:21 +02:00
Bertocq
3c2b5281e8
Fix Admin Polls menu active flags
2017-09-22 18:05:53 +02:00
María Checa
2629837306
Fixed admin menu active states
2017-09-22 17:25:33 +02:00
María Checa
a870f35de8
Added translations
2017-09-22 17:21:55 +02:00
María Checa
02fa3a83b5
Custom tags for Legislation Process available
...
Custom tags for Legislation Processes, editable in the admin section.
2017-09-22 17:16:04 +02:00
María Checa
ebfa3fb011
Disallow users to edit their legislation proposals
2017-09-22 11:39:17 +02:00
Carlos Ruiz
dc2e2a0944
Minor refactor and implement foundation toggler
2017-09-21 23:09:04 +02:00
María Checa
ac5620c583
Merge branch 'master' into 1856-legislation_processes_proposals_phase
2017-09-21 21:24:56 +02:00