BertoCQ
d534b02b3c
Merge pull request #2206 from consul/related-contents-score
...
Related contents score
2017-12-20 15:13:12 +01:00
Bertocq
3eecabe9a8
Prevent authors or users that already scored from scoring related content
2017-12-20 03:06:41 +01:00
Bertocq
2e0dd9caea
Relationable find_related_content should not be used to find, refactored to have a single purpose
2017-12-20 02:36:13 +01:00
rgarcia
19a084c0c7
adds map validations
2017-12-19 20:32:55 +01:00
María Checa
b99a2eac6f
Fixed tests
2017-12-19 19:10:43 +01:00
decabeza
44b34eb2ac
shows add related content link if user is logged
2017-12-19 18:51:46 +01:00
decabeza
f03d922124
fixes styles for mobile size
2017-12-19 18:51:28 +01:00
decabeza
bf073d8535
adds styles to related content score
2017-12-19 17:52:43 +01:00
María Checa
fcb6c7a19d
Added related contents score views
2017-12-19 13:20:30 +01:00
María Checa
3836b73482
Added related contents to debates
2017-12-18 23:56:32 +01:00
María Checa
4b181ead28
Added related content report views
2017-12-18 21:29:38 +01:00
decabeza
5a35189958
improves html markup for recommended carousel partial
2017-12-15 18:48:24 +01:00
decabeza
463731c731
adds documentation text shared i18n key
2017-12-15 18:48:24 +01:00
decabeza
67df3947bf
improves admin image partial
2017-12-15 18:48:24 +01:00
decabeza
8ef4ba94bd
fixes milestone table and improve button
2017-12-15 18:48:24 +01:00
decabeza
8bff974584
changes milestones date label
2017-12-15 18:48:24 +01:00
decabeza
8ff4303d20
changes image admin title label and improves image fields layout
2017-12-15 18:48:24 +01:00
decabeza
4f3c75c205
changes public interest label and improves account show layout
2017-12-15 18:48:24 +01:00
Alberto García
cec48c72ef
Merge pull request #2195 from consul/milestones_improvements
...
Make Milestones description required, hide title usage
2017-12-15 18:47:30 +01:00
María Checa
067945518e
Added check for related_contents
2017-12-15 17:22:27 +01:00
Bertocq
01b9aa82d6
Set a default hidden title value on milestones admin form, and avoid showing it to the user
2017-12-15 16:39:03 +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
Raimond Garcia
9ba8ca7de3
Merge pull request #2187 from consul/notifications
...
Fix notifications' exceptions
2017-12-14 22:11:27 +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
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
iagirre
b3db7d28f6
Add style class for editing form
2017-12-13 15:58: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
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
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