Javi Martín
86a205c8fc
Extract link to verify account to a mehtod
...
We were using the same text and the same route in many places.
2019-10-05 14:20:03 +02:00
Javi Martín
f8bd3d4f39
Extract links to signin and signup to methods
2019-10-05 14:07:24 +02:00
Javi Martín
9289a051c3
Extract partial to show "sign in to vote" message
2019-10-05 14:07:24 +02:00
Javi Martín
f5d8badeb6
Extract partial to show "login to comment" message
2019-10-05 14:07:24 +02:00
Javi Martín
2ccc283bb7
Use the same I18n key for "verify account" text
...
We were using several different keys, all of them having the same text.
2019-10-05 14:07:24 +02:00
Javi Martín
78c6f6f7e9
Use the same key for "signin" and "signup" texts
...
We were using the same texts in several places
2019-10-05 14:07:23 +02:00
Javi Martín
ae64458fce
Use the same I18n key for "login to comment" text
...
We were using several different keys, all of them having the same
translations.
2019-10-05 14:07:23 +02:00
cyrillefr
44b2a07878
Moderate legislation proposals ( #3602 )
...
Moderate legislation proposals
- added a controller for moderation/legislation
- updated view to appropriate link + added route
- added a spec
- Feature test
- test for faded
- javascripts for visual effects
2019-10-05 04:02:39 +02:00
Javier Martín
3c49ae3386
Merge pull request #3496 from LextrendIT/feature/refactor_embedded_video
...
Refactor embed video helper to disconnect from @proposal
2019-09-14 00:02:41 +02:00
Javi Martín
f9ed186909
Add rubocop spacing rules
...
We were following these rules in most places; we just didn't define them
anywhere.
2019-09-10 21:04:56 +02:00
Javi Martín
f74971060b
Apply SpaceInHtmlTag ERB Lint rule
2019-09-10 20:02:15 +02:00
Javi Martín
c62da726b8
Apply SpaceAroundErbTag ERB Lint rule
2019-09-10 20:02:15 +02:00
Javi Martín
71d9ddd849
Apply rule to end files with a newline character
2019-09-10 20:02:15 +02:00
Javi Martín
cf9e36c767
Replace single quotes with double quotes
...
Most of these quotes were in the dashboard branch before we added the
rule for double quotes.
2019-09-10 19:21:03 +02:00
Javi Martín
911fe4e481
Simplify calls to render partial
...
We're also adding a bit of consistency, since most of our calls to
partial rendering omit the `partial` and `locals` keys.
2019-09-04 15:00:36 +02:00
Javi Martín
a21240b230
Use Date.current and Time.current
...
Using Date.today and Time.now might lead to inconsistencies if the time
zone the application uses is not the same as the system time zone.
2019-08-28 20:32:40 +02:00
Raimond Garcia
259e05c3e0
Merge pull request #3410 from LextrendIT/report_generation
...
Report generation, download CSV
2019-06-12 11:45:59 +02:00
German Galia
9d1ca3bfd4
Report generation. Download csv
2019-06-12 10:17:31 +02:00
lalo
ef345ca87c
Collaborative legislation summary
2019-06-11 14:31:44 +02:00
Javier Martín
72c6b05c64
Merge pull request #3376 from LextrendIT/3350_rename_debates_comments_admin
...
Refactor admin/debates and admin/comments to hidden
2019-06-05 19:15:21 +02:00
German Galia
4f50e67ac3
Collaborative legislation summary
2019-06-03 12:34:25 +02:00
German Galia
85722eb7c4
Rename admin/debates and admin/comments to hidden
2019-06-02 19:12:26 +02:00
decabeza
5fd493cd2c
Add link to process on legislation processes proposals
2019-05-31 11:40:48 +02:00
Alberto
7c79965547
Merge pull request #3397 from consul/proposals-form
...
Remove question and external_url fields from proposals and legislation proposals
2019-05-17 17:08:56 +02:00
lalo
71f750ca9d
Refactor embedded_video_code method to use it with other models
2019-05-14 18:34:50 +02:00
decabeza
a57397dd6c
Always use map image from admin site customization images
2019-05-07 14:43:04 +02:00
decabeza
5bdac5c4f5
Remove question and external_url fields from legislation proposals
2019-04-30 11:35:47 +02:00
Javi Martín
3e4e65ead7
Use double quotes inside ERB
...
We were using single quotes inside ERB code when that code was inside
HTML double quotes.
2019-03-25 14:58:54 +01:00
Javi Martín
4c35df4812
Use double quotes inside string interpolation
2019-03-25 14:58:54 +01:00
Javi Martín
2b4e1cf358
Add missing double quotes
...
We overlooked a few single quotes while we changed thousands of them.
2019-03-25 13:22:35 +01:00
Julian Herrero
2b83be1c7c
Use double quotes in app/views/legislation
2019-03-19 12:16:50 +01:00
decabeza
88cae1424e
Add missing mobile social share message
2019-03-14 11:32:14 +01:00
decabeza
0ae1cdfc8c
Replace total votes to cached_votes_score on legislation proposals
...
This show votes_score as result of votes_up minus votes_down
2019-02-12 18:42:41 +01:00
decabeza
5893ed7587
Create helper for legislation process header with custom colors
2019-01-30 13:15:42 +01:00
Alberto
41fe1e3922
Merge pull request #3152 from NahiaSolutions/add_image_to_legislation_processes
...
Add image to legislation processes and banner colors
2019-01-29 16:06:54 +01:00
Alberto
c297595e49
Merge branch 'master' into add_image_to_legislation_processes
2019-01-28 14:49:19 +01:00
decabeza
78d8e34415
Show following tab on process if there are progress bar
...
Before, this tab only was show if were some milestone
2019-01-24 17:40:09 +01:00
decabeza
f5c7065d90
Remove help and recommendations on legislation proposal new form
2019-01-22 11:52:25 +01:00
Manu
b6cfe92d76
fixed banner styles issues
2019-01-21 12:02:27 -05:00
Manu
bd4e12112d
Add image to legislation processes and banner colors
2019-01-21 12:02:27 -05:00
decabeza
9dfbeed140
Moves draft and final result publication dates from tabs to sidebar
2019-01-15 16:13:41 +01:00
decabeza
73637de0d0
Adds homepage phase and tab to legislation processes show
2019-01-15 16:13:38 +01:00
Alberto
bbcb96027b
Merge pull request #3137 from consul/key-dates-processes
...
[Backport] Processes key dates
2019-01-08 10:51:40 +01:00
decabeza
dd8e2d6311
Shows participation phases only if there is a phase enabled
2018-12-28 18:23:08 +01:00
decabeza
a982f97cbd
Adds documents list on legislation process proposals phase
2018-12-28 17:22:03 +01:00
dperez
ff9a32c0a5
code reviewed
2018-12-15 18:04:24 +01:00
dperez
bef404c443
add homepage for legislation processes
2018-12-15 18:04:24 +01:00
Javi Martín
a42f5fab37
Add milestones summary to legislation processes
2018-12-11 20:19:48 +01:00
Javi Martín
b95ca9df8a
Add milestones to legislation process view
2018-12-11 20:18:53 +01:00
decabeza
04ea068f90
Fixes legislation processes key dates active class
2018-11-07 13:14:41 +01:00