Commit Graph

574 Commits

Author SHA1 Message Date
Carlos Ruiz
dc2e2a0944 Minor refactor and implement foundation toggler 2017-09-21 23:09:04 +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
Carlos Ruiz
c9ce560380 Legislation process minor html fixes 2017-09-20 23:34:27 +02:00
decabeza
b43e464292 renames js class 2017-09-20 19:27:11 +02:00
Carlos Ruiz
cf2dff1013 Small class names and html refactor 2017-09-19 20:11:06 +02:00
iagirre
049967649e Selection of multiple tags separated by ',' works for hardcoded array of tags. 2017-09-19 17:37:31 +02:00
Carlos Ruiz
12d34a3ea1 Switch flag/unflag buttons on use via ajax 2017-09-18 19:07:45 +02:00
BertoCQ
440c448ae4 Merge pull request #1862 from wairbut-m2c/iagirre-comments-empty-html
Iagirre comments empty html
2017-09-13 19:16:25 +02:00
iagirre
1356ea217b Erased extra empty HTML for comments without replies. Added .gitignore rules for Netbeans projects
Cambios para hacer commit:
	modificado:    .gitignore
	modificado:    app/assets/javascripts/comments.js.coffee
	modificado:    app/views/comments/_comment.html.erb
	modificado:    spec/features/comments/debates_spec.rb
2017-09-13 13:30:37 +02:00
taitus
9b6b57a24c Remove all white spaces 2017-09-06 14:12:32 +02:00
Senén Rodero Rodríguez
3d3d015283 Some cleaning. 2017-09-01 13:56:04 +02:00
Alessandro Cuoghi
b0e4c5d66c Hide progress bar for remove white space on init form. Added display block via js to show progrss bar. Added some margin. 2017-08-25 18:50:02 +02:00
Senén Rodero Rodríguez
796e6f9ce1 Code adaptation to work with nested documents and plain documents. 2017-08-25 18:34:55 +02:00
Alessandro Cuoghi
a32849c79b Changed style button. Add margin top progress bar. 2017-08-25 18:34:53 +02:00
Senén Rodero Rodríguez
a06eec37c2 Temporal fix to file upload files 2017-08-25 18:34:52 +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
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
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
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
dec7d2d2b5 Add followable specific notices to follows controller actions and render notice on AJAX JS response. 2017-07-19 19:43:05 +02:00
Senén Rodero Rodríguez
3b1335062f Remove uneeded initialization after ajax refresh. 2017-07-19 17:58:51 +02:00
Senén Rodero Rodríguez
c9a6630c94 Remove popup on follow buttons and remove uneeded code. 2017-07-19 17:51:45 +02:00
Senén Rodero Rodríguez
95630d6546 Add comment to temporary bugfix. 2017-07-10 12:46:31 +02:00
Senén Rodero Rodríguez
a7aef0a9fb Initialize App js modules after followable update. 2017-07-07 13:38:53 +02:00
taitus
0c2be6a0d4 Refactor js followable response. 2017-07-07 13:38:52 +02:00
Senén Rodero Rodríguez
313b78978d Add followable JS module. Refactor follow_helper and follow buttons partial. 2017-07-07 13:34:54 +02:00
Bertocq
e87073301d Fix form js coffe data toggle-link helper function for toogle buttons 2017-07-04 01:34:25 +02:00
rgarcia
9c12680197 fixes styles for available username
It was always showing red instead of green, even if the username was
available
2017-06-21 13:10:40 +02:00
Bertocq
2965b31504 Remove unnecesary space on coffeescript file 2017-06-16 00:06:42 +02:00
Bertocq
0379a66c77 Remove unnecesary empty parameter list on coffeescript file 2017-06-16 00:06:26 +02:00
Bertocq
3db13da2b1 Fix indentation on multiple coffeescript files 2017-06-16 00:05:07 +02:00
Bertocq
8f682901ed Fix Operators must be spaced properly rule on multiple coffeescript files 2017-06-16 00:03:34 +02:00
Bertocq
2c4139d4ac Remove trailing whitespace from tracks coffee file 2017-06-16 00:02:06 +02:00
Bertocq
6eb2647c1c Fix CoffeeLint rule 'Line contains a trailing semicolon' across multiple files 2017-06-16 00:01:05 +02:00
decabeza
3bcfaeb61a replaces sr-only class to show-for-sr 2017-06-13 17:51:57 +02:00
decabeza
5e0d5fc8c3 Merge branch 'legislation-module-stable' of https://github.com/medialab-prado/consul into medialab-legislation 2017-05-22 18:43:49 +02:00
Alberto
6bbcc71ecb Merge branch 'master' into polls 2017-04-06 14:16:49 +02:00
Juanjo Bazán
3f15565f9e uses new jquery-ui widgets path in require 2017-03-24 22:02:34 +01:00
Martín González
ea9d9728d8 Fix comment boxes login warning display 2017-03-10 19:12:39 +01:00
Amaia Castro
13ff9816ae Merge pull request #124 from medialab-prado/122-color-intensity
Annotations color intensity according to (comments) weight
2017-03-09 16:27:14 +01:00
Amaia Castro
1cedf73a39 Merge pull request #123 from medialab-prado/120-hidden-comments
Several comments boxes
2017-03-09 16:26:33 +01:00
Amaia Castro
4f0fc6a4aa TOC expanded by default 2017-03-07 23:07:42 +01:00
Amaia Castro
854d51dd8e Calculate annotations weight and add weight css classes for color intensity 2017-03-02 14:25:23 +01:00
Amaia Castro
5f61e9f270 Clear box before showing comments for anchor 2017-02-24 16:31:47 +01:00
Amaia Castro
c7eaadb4b2 Show comment boxes for all annotations at the clicked point 2017-02-24 15:45:36 +01:00
Amaia Castro
8b80efd534 Fix scroll to anchor 2017-02-23 19:05:36 +01:00
Amaia Castro
20bfe5e0e5 Fix annotation highlight on click 2017-02-23 16:04:55 +01:00
Amaia Castro
7061d70f22 Avoid loading annotations twice when creating new one 2017-02-23 16:04:30 +01:00