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
Juanjo Bazán
c81b8550f0
adds Question case for commentable route
2017-02-15 14:27:09 +01:00
Amaia Castro
3009706b0d
Don’t allow comments on questions for unverified users and when the phase is closed
2017-02-08 18:19:10 +01:00
Amaia Castro
9c8102b9f3
Refactor path helpers for comments
2017-01-18 16:58:16 +01:00
Amaia Castro
53e9837db3
Change texts for legislation questions comments
2017-01-17 15:42:42 +01:00
Juanjo Bazán
ad435040bd
adds helper to fix links to commentable
2017-01-10 13:54:50 +01:00
rgarcia
bb3c4c6399
adds consistency to ruby code style
...
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
rgarcia
816a95b7b7
adds comment show view
2016-01-07 15:18:28 +01:00
kikito
60b3c65b05
Refactor comment tree calculation using a PORO
2015-10-30 17:00:32 +01:00
kikito
b2918621ab
Refactors in children count when rendering comments
2015-10-28 17:33:24 +01:00
Sergio Arbeo
4e7493c75c
Refactor comment body
...
Refactor the body of the comment to use a couple of helpers instead of a long
list of `if`s in the html.
2015-10-26 14:51:34 +01:00
David Gil
31cf51f07a
adds text_with_links helper and use that in any comment.body in views, adds test to check for malicious injections in comment body
2015-09-10 18:28:10 +02:00
Juanjo Bazán
dfc1ccb108
renames helper method
2015-09-03 17:13:19 +02:00
Juanjo Bazán
136c1e73ed
uses ancestry to retrieve debate comments
2015-09-03 16:32:54 +02:00
Juanjo Bazán
dee2d0196b
ancestries
...
moves to ancestry from acts_as_commentable_with_threading
2015-09-02 19:23:09 +02:00
Juanjo Bazán
eb689d7c7e
refactors comment form
2015-09-02 17:22:21 +02:00
Juanjo Bazán
df5ef2dc29
makes helper independent of commentable class
2015-09-02 17:06:11 +02:00
Juanjo Bazán
927f79fd78
adds i18n to comments_helper
2015-07-31 15:13:00 +02:00
rgarcia
b674e109a5
adds appropriate text for comment replies
2015-07-25 18:56:52 +02:00