Commit Graph

247 Commits

Author SHA1 Message Date
BertoCQ
73c47dcd0e Merge pull request #1905 from wairbut-m2c/iagirre-autocomplete-tags
Iagirre autocomplete tags
2017-09-26 10:19:34 +02:00
iagirre
4db2584f87 The tags are suggested based on the entries the user makes.
Cambios para hacer commit:
	modificado:    app/assets/javascripts/tag_autocomplete.js.coffee
	modificado:    app/assets/stylesheets/autocomplete_overrides.scss
	nuevo archivo: app/controllers/tags_controller.rb
	modificado:    app/models/abilities/common.rb
	modificado:    app/views/debates/_form.html.erb
	modificado:    app/views/proposals/_form.html.erb
	modificado:    config/initializers/acts_as_taggable_on.rb
	modificado:    config/routes.rb
	modificado:    spec/lib/acts_as_taggable_on_spec.rb
2017-09-21 18:21:45 +02:00
Raimond Garcia
b416d2846e Merge pull request #1883 from xarlybovi/switch-flags-ajax
Switch flag/unflag buttons on use via ajax
2017-09-20 12:21:56 +02:00
Carlos Ruiz
cf2dff1013 Small class names and html refactor 2017-09-19 20:11:06 +02:00
Carlos Ruiz
12d34a3ea1 Switch flag/unflag buttons on use via ajax 2017-09-18 19:07:45 +02:00
decabeza
4ce06fac4e avoids use class variables on helper 2017-09-18 17:52:36 +02:00
decabeza
1c6a873b6d refactors proposal helper and use correctly on proposal show view 2017-09-18 17:31:37 +02:00
decabeza
2b3cbac5bc moves author actions to sidebar on proposal show 2017-09-18 14:21:38 +02:00
decabeza
e131fe9992 moves header description to footer 2017-09-13 13:23:41 +02:00
Bertocq
e8f95f4b5b Format link_to consistently 2017-09-08 12:39:23 +02:00
taitus
d8e9aad331 Fix community access text. 2017-09-05 12:55:12 +02:00
taitus
456672c0b9 Add partial with access button to community. 2017-09-05 12:54:32 +02:00
Alessandro Cuoghi
579a174704 Sidebar: Added button to access the community. Created community.yml. 2017-09-05 12:51:08 +02:00
taitus
43c17c3fc7 Add communities and topics 2017-09-05 12:51:08 +02:00
Raimond Garcia
ee3b3f2c85 Merge pull request #1809 from rockandror/documentable-ajax
[WIP] Documentable
2017-09-05 11:22:46 +02:00
decabeza
4e7e1410e9 includes help header and footer on debates and proposals 2017-08-29 18:46:10 +02:00
Senén Rodero Rodríguez
b2a6189cf5 Views and helpers refactor 2017-08-25 18:34:54 +02:00
Senén Rodero Rodríguez
cc89907bff Add nested documents to proposal form. 2017-08-25 18:34:52 +02:00
Senén Rodero Rodríguez
4cfe841af9 Create separate reusable partial for nested document fields. 2017-08-25 18:34:52 +02:00
Senén Rodero Rodríguez
f226d2ac94 Fix edit and update actions 2017-08-25 18:34:52 +02:00
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
38d4d59241 Add arguments to documentable concern to make it configurable for any recipient model. 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
586776efd8 Add documentable to proposal model. 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
decabeza
bf33a00863 replaces div tags inside span 2017-08-17 17:31:29 +02:00
Semyon Pupkov
87093b08b7 Show bottom proposals button only if proposals exists 2017-08-10 23:58:59 +05:00
decabeza
6c5513ab38 replaces back_link partial to back_link_to helper 2017-07-26 18:22:45 +02:00
Senén Rodero Rodríguez
119a6b3397 Remove where clause from followable button partial and rename followable_button partial to follow_button. 2017-07-19 17:51:51 +02:00
Senén Rodero Rodríguez
503e079909 Move followable button to sidebar after social share buttons 2017-07-11 10:30:07 +02:00
taitus
97ee107157 Do not show flaggable and followable buttons on budgets_investment and proposals pages when user is not logged. 2017-07-07 13:38:52 +02:00
Senén Rodero Rodríguez
84dbef16a4 Create followable concern, follow model. Add followable to proposal model. 2017-07-07 12:02:00 +02:00
decabeza
af7807ce9f Updates custom note class to foundation help-text 2017-06-27 10:29:36 +02:00
decabeza
44b5403db5 improves styles and texts of share proposal view 2017-06-23 18:19:43 +02:00
Juanjo Bazán
616efbffed uses path instead of url for proposal improvement link 2017-06-23 13:12:46 +02:00
Bertocq
e5baecdbfe Use 'active' css class on the active category for both proposals and budgets partials 2017-06-20 09:55:42 +02:00
decabeza
3bcfaeb61a replaces sr-only class to show-for-sr 2017-06-13 17:51:57 +02:00
Amaia Castro
ed777d7c92 Fix broken link 2017-06-12 15:47:30 +02:00
decabeza
3d6f75bb59 reverts hide tags on index views 2017-06-08 13:30:12 +02:00
decabeza
c76bd65b40 removes old proposals successful banner 2017-06-05 16:29:48 +02:00
decabeza
f374478ddf improves styles displaying search results 2017-06-05 16:18:32 +02:00
decabeza
10d09686c3 removes tags list on index views 2017-06-05 13:39:42 +02:00
decabeza
c5c9efee16 removes redundant label on index views 2017-06-05 13:12:04 +02:00
decabeza
773f3d658a includes proposal summary as meta description 2017-05-31 13:58:51 +02:00
decabeza
6b520d7978 changes order of tag_cloud on proposals sidebar 2017-05-31 13:45:38 +02:00
Bertocq
520563d54f Add proposal improvement info link to share page, and make it option through Setting variable 2017-05-31 10:59:31 +02:00
Bertocq
fbea920b5c Add new Proposal Share view plus update social share partial to allow no share_title and divider 2017-05-31 10:59:31 +02:00
Bertocq
f03e2ec236 Use shared social_share partial on every view that was using duplicated code 2017-05-30 12:39:36 +02:00
decabeza
d49b6e5aa4 adds rel canonical on show views 2017-05-17 14:10:38 +02:00
Alberto Garcia Cabeza
b29a353ce5 adds rel canonical on main sections 2017-05-08 15:06:18 +02:00