Commit Graph

6568 Commits

Author SHA1 Message Date
Senén Rodero Rodríguez
e9c5f77368 Accept nested attributes for documents on proposals. Adapt documentable js file to allow many input files at the same page. 2017-08-25 18:34:51 +02:00
Senén Rodero Rodríguez
e327b420ff Ajax file upload to tmp dir. Add cached_attachment to document. Recover image from cache. Add progress bar. 2017-08-25 18:34:51 +02:00
Senén Rodero Rodríguez
9a0b34fffe Install jquery-file-upload assets for rails. 2017-08-25 18:34:51 +02:00
Alessandro Cuoghi
45fc5c4fa2 Changed primary class with warning class in the callout. Added strong text into documents.yml for esp and eng. 2017-08-25 18:34:51 +02:00
Senén Rodero Rodríguez
593da5e76b Show maximum number of document reached notice only when current user has document creations permissions. 2017-08-25 18:34:51 +02:00
Senén Rodero Rodríguez
c438e510c0 Add rel attribute with nofollow value. 2017-08-25 18:34:51 +02:00
Senén Rodero Rodríguez
a709cd0479 Add accept HTML attribute to documents form file input. 2017-08-25 18:34:50 +02:00
Senén Rodero Rodríguez
0edd5d8c2c Add missing class to file input custom error to hide and show correctly. 2017-08-25 18:34:50 +02:00
Alessandro Cuoghi
e266826628 Added margin bottom to attachment-errors. Remove unused space between buttons. Passed scss-lint. 2017-08-25 18:34:50 +02:00
Senén Rodero Rodríguez
92e8468e89 Use documentables helper method within specs and document model. 2017-08-25 18:34:50 +02:00
Senén Rodero Rodríguez
17ad148cd7 Fix i18n translations warnings. 2017-08-25 18:34:50 +02:00
Alessandro Cuoghi
63621aa526 Style radio buttons. Added icon inside the table. Adjusted buttons with the same width. Changed position buttons in responsive. Pass scss-lint. 2017-08-25 18:34:50 +02:00
Senén Rodero Rodríguez
3a7c9d9f83 Add documentables helper 2017-08-25 18:34:49 +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
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
Bertocq
3103fc3459 Verify seeds valuator user 2017-08-25 13:00:05 +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
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