Commit Graph

65 Commits

Author SHA1 Message Date
Senén Rodero Rodríguez
130e4533ac Allow to render map without marker on new forms. 2017-09-27 14:48:12 +02:00
Senén Rodero Rodríguez
2993ef8707 Remove documents single uploads 2017-09-27 11:04:56 +02:00
Senén Rodero Rodríguez
eef8ad1b73 Remove images single uploads 2017-09-27 10:41:48 +02:00
Senén Rodero Rodríguez
2854c0b683 Some fixes and refactor 2017-09-26 13:57:14 +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
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
79ed66ec4c Rename investment helper method 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
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
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
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
taitus
d8e9aad331 Fix community access text. 2017-09-05 12:55:12 +02:00
taitus
456672c0b9 Add partial with access button to community. 2017-09-05 12:54:32 +02:00
taitus
895c942a39 Add community to investments 2017-09-05 12:52:45 +02:00
Senén Rodero Rodríguez
38d4d59241 Add arguments to documentable concern to make it configurable for any recipient model. 2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
6b61cbe35c Set maximum number of documents on proposal and budget investments. Show alert on documents tab when maximum reached. Hide upload button when maximum reached. 2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
a2130689ed Create documentable concern and add it to budget investment model. Create documents controller, documents helper, routes, translations and specs 2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
119a6b3397 Remove where clause from followable button partial and rename followable_button partial to follow_button. 2017-07-19 17:51:51 +02:00
Senén Rodero Rodríguez
503e079909 Move followable button to sidebar after social share buttons 2017-07-11 10:30:07 +02:00
taitus
97ee107157 Do not show flaggable and followable buttons on budgets_investment and proposals pages when user is not logged. 2017-07-07 13:38:52 +02:00
taitus
bce28afe36 Add followable to budget investment model. 2017-07-07 12:07:25 +02:00
Bertocq
f03e2ec236 Use shared social_share partial on every view that was using duplicated code 2017-05-30 12:39:36 +02:00
decabeza
0622ad1f24 polish budgets investment show back link 2017-05-29 18:01:22 +02:00
decabeza
9607346e57 adds heading_id on investment show back link 2017-05-29 12:13:24 +02:00
Alberto Garcia Cabeza
98a76a1ae5 show price on index/show if feasible && selected 2017-05-05 17:14:54 +02:00
Alberto Garcia Cabeza
551501c148 replaces   to %20 on whatsapp links href 2017-05-03 18:08:09 +02:00
Alberto Garcia Cabeza
e2a015c24e shows always whatsapp icon on small screens 2017-05-03 18:07:23 +02:00
Juanjo Bazán
61e5c187da shows investment price info only if phase is balloting or later 2017-04-17 13:15:17 +02:00
Alberto Garcia Cabeza
da8e51aed7 adds missing parenthesis 😅 2017-03-28 18:05:23 +02:00
Alberto Garcia Cabeza
b4e81d60fc fixes html validation on whatsapp share 2017-03-27 19:01:39 +02:00
Alberto Garcia Cabeza
b5fd8cc8b2 fixes missing i18n 2017-03-06 14:04:17 +01:00
Alberto Garcia Cabeza
580ed6e4c6 adds alternative text for share on WhatsApp links 2017-03-06 13:15:12 +01:00
Alberto Garcia Cabeza
56694debfd removes duplicated social buttons on investment show 2017-01-16 18:49:19 +01:00
rgarcia
0f1a98da7d fixes conflicts with master 2017-01-15 19:04:12 +01:00
Alberto Garcia Cabeza
61450cb48f adds social share buttons on investments show 2017-01-15 13:51:45 +01:00
rgarcia
6d71cd985c displays appropriate vote info depending on phase 2017-01-13 21:15:08 +01:00
Juanjo Bazán
b4b8e4f787 fixes investment back link to avoid pointing to /new action 2017-01-11 13:02:46 +01:00
Alberto Garcia Cabeza
2a3cbee96a Merge branch 'budgets' of github.com:consul/consul into budgets 2017-01-09 17:10:46 +01:00