Alessandro Cuoghi
62372aaee3
Added translation buttons download, destroy, link. Remove white space.
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
462931845b
Fix back link on document new page.
2017-08-25 17:27:37 +02:00
Alessandro Cuoghi
27b3c60e92
Added style button download and remove. Removed border on table.
2017-08-25 17:27:37 +02:00
Alessandro Cuoghi
143c8889f3
Center in the page new document-form. Added style recommendations sidebar.
2017-08-25 17:27:37 +02:00
Alessandro Cuoghi
1c835073a8
Changed icon-documents color.
2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
586776efd8
Add documentable to proposal model.
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
c92827e89e
Add abilities to documentable authors and admins to create and destroy documents.
2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
34d06dad04
Add document model validations and model shared specs.
2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
a141c82e33
Create new polymorphic model Document.
2017-08-25 17:27:37 +02:00
decabeza
e85c71fe9a
improves styles for external links on proposal show
2017-08-25 13:45:50 +02:00
Bertocq
3103fc3459
Verify seeds valuator user
2017-08-25 13:00:05 +02:00
decabeza
f9e5086a95
fixes table on users proposal list
2017-08-25 12:12:21 +02:00
BertoCQ
7d95edf93e
Merge pull request #1802 from consul/share-whatsapp
...
Share button WhatsApp
2017-08-17 23:10:13 +02:00
BertoCQ
1e5c77293c
Merge pull request #1803 from consul/html-issue
...
HTML Tag
2017-08-17 22:49:28 +02:00
decabeza
099c3f888d
changes styles to show missing divider lines
2017-08-17 17:31:43 +02:00
decabeza
bf33a00863
replaces div tags inside span
2017-08-17 17:31:29 +02:00
Bertocq
89452645ee
Use CGI.escape for whatsapp title sharing
2017-08-17 14:14:30 +02:00
BertoCQ
eed30e6375
Update spanish Code of Conduct to 1.4
2017-08-17 13:18:57 +02:00
decabeza
decbd261bb
improves styles to whatsapp share icon
2017-08-16 13:41:13 +02:00
decabeza
827e4702a9
removes duplicated social share partial on legislation views
2017-08-16 13:40:46 +02:00
decabeza
247ceed3f4
escape quotation marks on whatsapp share links
2017-08-16 13:40:12 +02:00
BertoCQ
5da7952a18
Merge pull request #1795 from artofhuman/fix-datetime-locale
...
Return datetime format for en locale
2017-08-10 23:16:14 +02:00
BertoCQ
4311b405d6
Merge pull request #1798 from artofhuman/fix-double-button
...
Show bottom proposals button only if proposals exists
2017-08-10 23:09:21 +02:00
Semyon Pupkov
87093b08b7
Show bottom proposals button only if proposals exists
2017-08-10 23:58:59 +05:00
María Checa
92de42da75
Merge pull request #1796 from consul/html-issue
...
HTML issue
2017-08-10 11:19:22 +02:00
decabeza
7becda96ed
fixes heading inside ul html issue
2017-08-09 18:33:09 +02:00
Semyon Pupkov
bc486945b7
Return datetime format for en locale
2017-08-09 01:07:45 +05:00
Semyon Pupkov
65b13f4476
Change log level in production to warn
...
ref: https://github.com/AyuntamientoMadrid/consul/pull/828
2017-08-08 23:42:52 +05:00
rgarcia
9181610de9
removes obsolete code
2017-08-04 21:27:30 +02:00
rgarcia
0aba196ba2
adds specs for shifts
2017-08-04 21:27:30 +02:00
rgarcia
bf192f3b58
highlights shift's menu instead of booths
2017-08-04 21:27:30 +02:00
rgarcia
456429f08b
adds shifts
2017-08-04 21:27:30 +02:00
taitus
fda2d8202f
Do not display empty recommended text when user is not logged
2017-08-04 14:18:20 +02:00
taitus
6e2063310f
Add empty recommended messages text.
2017-08-04 13:27:03 +02:00
BertoCQ
411fb96ec7
Merge pull request #1770 from consul/back-link
...
Back link
2017-08-04 01:54:12 +02:00
Bertocq
5ede222346
Remove spending proposal specs, deprecated feature with flaky tests
2017-08-03 14:03:19 +02:00
decabeza
095f8a704d
Removes unnecessary margin-bottom
2017-08-03 14:03:19 +02:00
decabeza
6814f0f847
removes text-decoration on icons
2017-08-03 14:03:19 +02:00
Senén Rodero Rodríguez
1dea11ca8b
Add empty interests list message.
2017-08-03 14:03:19 +02:00
Bertocq
9616fd85ae
Remove no longer used spanish translations
2017-08-03 14:03:19 +02:00
BertoCQ
844c47fcb6
Merge pull request #1774 from consul/user-activity
...
User activity
2017-08-03 14:02:02 +02:00
decabeza
b9eb6867d7
updates tags on specs
2017-08-03 10:14:45 +02:00
decabeza
a18d86e8a7
replaces html to content_tag on users helper
2017-08-03 10:14:45 +02:00
decabeza
b2b15d1fd7
improves deleted elements on user activity
2017-08-03 10:14:45 +02:00
BertoCQ
fc87d70bf8
Merge pull request #1773 from consul/skip_spending_tests
...
Skip spending proposal specs
2017-08-03 10:13:57 +02:00
taitus
edbbe6174b
Refactor specs because now recommendations only return results asociated to user interests
2017-08-03 00:23:06 +02:00
rgarcia
43b636de09
avoids postgres exception regarding subquery limits
...
We have apparently reached a postgres limit for the number of
attributes we query. Using ids instead of the proposal objects seems to
fix it
Using `Array` and `map` instead of `pluck`, because the proposals
attribute can be a single object
2017-08-02 21:34:40 +02:00
rgarcia
113d8a0f28
minor refactoring for proposal recommendations
2017-08-02 20:27:20 +02:00