Commit Graph

3965 Commits

Author SHA1 Message Date
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
7d95edf93e Merge pull request #1802 from consul/share-whatsapp
Share button WhatsApp
2017-08-17 23:10:13 +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
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
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
decabeza
7becda96ed fixes heading inside ul html issue 2017-08-09 18:33:09 +02:00
BertoCQ
411fb96ec7 Merge pull request #1770 from consul/back-link
Back link
2017-08-04 01:54:12 +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
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
decabeza
c796c5be2d Removes unnecessary margin-bottom 2017-08-01 12:56:59 +02:00
decabeza
4eb3337282 removes text-decoration on icons 2017-08-01 12:56:04 +02:00
decabeza
bd27767d06 fixes content_tag span on back_link_to helper 2017-07-27 00:50:55 +02:00
decabeza
98961748ad replaces more old back link partial to new back_link_to helper 2017-07-27 00:26:39 +02:00
Bertocq
10da3dba58 Use content_tag to render span icon on back link helper 2017-07-26 19:13:46 +02:00
BertoCQ
cf3dbc8149 Merge pull request #1769 from rockandror/empty-user-interests
Add empty interests list message.
2017-07-26 18:31:14 +02:00
decabeza
6c5513ab38 replaces back_link partial to back_link_to helper 2017-07-26 18:22:45 +02:00
decabeza
0b235d69d4 adds consistency for back links 2017-07-26 18:18:30 +02:00
Senén Rodero Rodríguez
3370896ead Add empty interests list message. 2017-07-26 17:48:47 +02:00
Bertocq
7d406cae76 Rubocop autocorrections 2017-07-25 13:01:03 +02:00
BertoCQ
58331e6425 Merge pull request #1766 from consul/foundation-settings
Foundation settings
2017-07-24 19:23:53 +02:00
decabeza
7d6b8e49fe moves foundation settings to consul settings scss 2017-07-24 17:13:41 +02:00
BertoCQ
13871b823b Merge pull request #1750 from rockandror/followable-user-activity
User page: new following section
2017-07-24 13:10:09 +02:00
BertoCQ
fa940b0687 Merge pull request #1765 from consul/admin-menu
Admin dropdown
2017-07-24 12:42:35 +02:00
decabeza
39b6834a61 fixes admin dropdown on admin section 2017-07-24 11:15:41 +02:00
Bertocq
361e0efe00 Remove Poll Recount model and all usages 2017-07-23 23:29:24 +02:00
Bertocq
d98425f45b Remove daily officer recounts from admin poll recounts list 2017-07-23 23:28:38 +02:00
Bertocq
c40294e931 Remove officing recount feature 2017-07-23 23:28:38 +02:00
BertoCQ
3668024d83 Merge pull request #1752 from MariaCheca/1725-census_local_copy_user_verification
Allow users to verify their account against a local copy of the Census
2017-07-21 11:36:29 +02:00
Senén Rodero Rodríguez
b7bce2e699 Remove complex methods from follow model. Create instance method followed_by? on followable model concern. Some code improvements. 2017-07-19 21:50:37 +02:00
María Checa
0c84619cef Recovered LocalCensusRecord model validations 2017-07-19 19:49:16 +02:00
Senén Rodero Rodríguez
dec7d2d2b5 Add followable specific notices to follows controller actions and render notice on AJAX JS response. 2017-07-19 19:43:05 +02:00
decabeza
631ea77cf7 adds dropdown on admin menu items 2017-07-19 18:34:07 +02:00
Senén Rodero Rodríguez
3b1335062f Remove uneeded initialization after ajax refresh. 2017-07-19 17:58:51 +02:00