Bertocq
900d8a00b1
Make milestone's description a required attribute
2017-12-15 16:38:21 +01:00
Bertocq
c45d8621de
Fix menu proposals item by avoiding legislation proposals parent check
2017-12-15 13:50:39 +01:00
Raimond Garcia
d0b407d4e5
Merge pull request #2183 from consul/related-content
...
Related contents functionalities
2017-12-15 10:00:43 +01:00
Raimond Garcia
cd89cb801c
Merge pull request #2190 from consul/related-content-form
...
Related content form
2017-12-15 09:59:56 +01:00
rgarcia
ebb3c075b0
fixes proposal's management specs
2017-12-15 09:58:12 +01:00
Raimond Garcia
9ba8ca7de3
Merge pull request #2187 from consul/notifications
...
Fix notifications' exceptions
2017-12-14 22:11:27 +01:00
Alberto García
b4782f73f2
delete unnecessary parenthesis
2017-12-14 21:13:46 +01:00
María Checa
1830a7bb04
Added pagination for relationed content list
2017-12-14 20:54:35 +01:00
Alberto García
1737f85398
Merge branch 'master' into aperez-dates-for-milestones
2017-12-14 20:50:55 +01:00
Alberto García
09b544774d
Merge pull request #2191 from wairbut-m2c/iagirre-add-documents-to-milestones
...
Add documents to milestones
2017-12-14 20:49:19 +01:00
María Checa
88fc740863
Moved RELATIONABLE_MODELS from controller to model
2017-12-14 20:48:32 +01:00
rgarcia
2b52d26d82
refactors notifications into concerns and shared examples
2017-12-14 16:15:30 +01:00
BertoCQ
50b4f50eac
Merge branch 'master' into aperez-dates-for-milestones
2017-12-14 15:42:35 +01:00
María Checa
5c7b5eed53
Added RelatedContentsController
2017-12-14 14:50:47 +01:00
María Checa
586b1ae201
Added related content form
2017-12-14 14:50:47 +01:00
Alberto García
45de7efd7a
Merge pull request #1904 from consul/community-design
...
Community design
2017-12-14 14:44:03 +01:00
Bertocq
831ca1dd67
Redirect anonymous user to sign in on create topic link
2017-12-14 13:50:42 +01:00
Alberto García
19925de06b
Merge pull request #2170 from consul/design
...
Design improvements
2017-12-14 11:31:31 +01:00
iagirre
01a8c55936
Make Budget::Investment::Milestone class Documentable.
...
Add fields to the milestone form so that the admin can attach 0, 1 or multiple documents.
Add column to milestone list with a link to documents (if there is any).
Make documents accessible from the milestone view for users.
2017-12-14 10:53:01 +01:00
Angel Perez
03ae14c613
End-users will be shown a milestone's publication date if available
2017-12-13 20:17:54 -04:00
Angel Perez
6d57d76071
Admins can add a 'publication date' to milestones
2017-12-13 20:17:54 -04:00
Raimond Garcia
97f549ac10
Merge pull request #2186 from wairbut-m2c/iagirre-add-images-to-milestones
...
Add Images to Milestones
2017-12-13 19:56:04 +01:00
iagirre
b3db7d28f6
Add style class for editing form
2017-12-13 15:58:38 +01:00
Bertocq
8c9585480b
Remove no longer needed topics helper module file
2017-12-13 14:40:38 +01:00
Bertocq
8bfaee7267
Fix missing parenthesis on i18n.l method call
2017-12-13 14:21:20 +01:00
iagirre
59a4b93a00
Add I18n texts for milestone images.
...
Add specs to test admin image uploader and milestones' show.
Modify the UI to fit the mockups provided in the issue.
2017-12-13 14:03:46 +01:00
María Checa
4f442792cc
Added working related contents list
...
Also separated related contents into partials.
2017-12-13 13:32:00 +01:00
rgarcia
abaf6ab785
adds model validations for legislation proposals
2017-12-13 12:52:25 +01:00
iagirre
5186149b33
Add I18n texts for the link to see the image.
...
The image is shown in the public investment window if the milestone has one.
2017-12-13 08:59:54 +01:00
iagirre
35986ea6b5
Budget::Investment::Milestone is imageable
...
Admin form attaches an image
Milestone list has a column "Image", empty or with a link to the image
2017-12-13 08:59:36 +01:00
Raimond Garcia
d49a1dc208
Merge pull request #2172 from consul/notifications
...
Notifications for hidden resources
2017-12-12 16:26:37 +01:00
rgarcia
7465a8ef8e
Refactors li element
2017-12-12 13:36:38 +01:00
Bertocq
3139d760ec
Remove unuseful comment on imageable concern
2017-12-12 12:38:54 +01:00
rgarcia
e3c8dece8f
Makes the code aware of notifications for hidden commentables
2017-12-11 13:22:10 +01:00
Raimond Garcia
11e80fbc92
Merge pull request #1903 from wairbut-m2c/aperez-enable-disable-proposals
...
Add enable/disable option for 'Proposals' feature
2017-12-08 11:41:13 +01:00
decabeza
377a1d9f01
improves following view and updates specs
2017-12-07 16:31:05 +01:00
decabeza
d273ba2ba5
improves following page, shows public interest only in this view
2017-12-07 13:40:12 +01:00
Raimond Garcia
22a8157165
Merge branch 'master' into aperez-email-specs-for-commentables
2017-12-07 13:05:25 +01:00
decabeza
e9ad4b49fb
improves styles for follow button
2017-12-07 11:12:46 +01:00
decabeza
39def428b5
improves layout for items list with images
2017-12-06 21:00:34 +01:00
decabeza
864c022b08
adds margin to maps on show views
2017-12-06 15:37:46 +01:00
decabeza
f92a7ade55
adds partial for related content
2017-12-06 13:22:19 +01:00
María Checa
56e10f9532
Merge pull request #2160 from consul/relationables
...
Related Content model and Relatable concern
2017-12-05 15:19:42 +01:00
Bertocq
7339a98b74
Create installation controller with consul details method, add route on routes.rb
2017-12-04 18:32:04 +01:00
Bertocq
05a6c35b65
Switch case statement for if
2017-12-04 15:48:09 +01:00
Bertocq
b327420e72
Force setseed value range from -1 o 1
2017-12-04 15:42:59 +01:00
Bertocq
6d8657ab5c
Move css styles from custom file to correct admin.scss one
2017-11-30 11:45:51 +01:00
María Checa
f9e65b0f80
Merge pull request #2102 from wairbut-m2c/iagirre-admin-poll-stats
...
Iagirre admin poll stats
2017-11-29 20:07:53 +01:00
Bertocq
cd021aee4b
Add relationed_contents helper function on Relationable concern with spec
2017-11-29 19:02:25 +01:00
Bertocq
0482eb4098
Add report_related_content helper funcion on Relationable concern with spec
2017-11-29 19:02:25 +01:00