Bertocq
|
e38b06a003
|
Add Images table with paperclip attachment columns
|
2017-09-26 13:53:43 +02:00 |
|
Bertocq
|
718336ce89
|
Remove no longer needed migrations, Image will be a separate table
|
2017-09-26 13:53:43 +02:00 |
|
Senén Rodero Rodríguez
|
4f54f4e6bb
|
Add empty line to make sccs-lint compliant
|
2017-09-26 13:53:43 +02:00 |
|
Senén Rodero Rodríguez
|
5ecf228b09
|
Add spec to check image attachment destroy method on budget investment model.
|
2017-09-26 13:53:43 +02:00 |
|
Senén Rodero Rodríguez
|
f23fd927d6
|
Add constant to set minimum size for budget investment image.
|
2017-09-26 13:53:43 +02:00 |
|
Senén Rodero Rodríguez
|
7b63f01a86
|
Use paperclip destroy function instead of setting object to nil.
|
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
|
7c998e541e
|
Use not deprecated method to check if a field contains errors.
|
2017-09-26 13:53:43 +02:00 |
|
Senén Rodero Rodríguez
|
3e976b4f4b
|
Use helper argument intead of instance variable.
|
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
|
e7ac27a2b8
|
Add missing specs to check validation errors on new investmentand edit image pages.
|
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
|
a9f1d41179
|
Fix some specs names
|
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
|
d0a5deab5e
|
Changed class reference for pass lint-scss test.
|
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
|
c399692109
|
Add image description to budget investments
|
2017-09-26 13:53:42 +02:00 |
|
Senén Rodero Rodríguez
|
00a8f42797
|
Added image content type validation to only allowing jpg images.
|
2017-09-26 13:53:42 +02:00 |
|
taitus
|
c5bb6dca65
|
Add image to budget investments.
|
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 |
|
Senén Rodero Rodríguez
|
4f5a552486
|
Added image content type validation to only allowing jpg images.
|
2017-09-26 13:53:42 +02:00 |
|
taitus
|
7b88e63136
|
Add image to budget investments.
|
2017-09-26 13:53:42 +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
|
feddc44267
|
Merge pull request #1922 from consul/rubocop
Rubocop 🤖 Cleanup
|
2017-09-26 10:19:47 +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 |
|
Bertocq
|
ee7ef6e2df
|
Normalize some i18n files
|
2017-09-25 23:02:54 +02:00 |
|
Bertocq
|
7e4d9b749b
|
Fix Style/ColonMethodCall rubocop issues
|
2017-09-25 22:53:15 +02:00 |
|
Bertocq
|
43758ba830
|
Fix Style/EmptyCaseCondition rubocop issue
|
2017-09-25 22:52:38 +02:00 |
|
Bertocq
|
91fcea03b1
|
Remove useless parentheses on new() call
|
2017-09-25 22:51:07 +02:00 |
|