Commit Graph

11828 Commits

Author SHA1 Message Date
Consul Bot
2034a4bc5e New translations moderation.yml (Polish) 2019-02-14 13:00:26 +01:00
Consul Bot
3aaba9f994 New translations moderation.yml (Spanish, Dominican Republic) 2019-02-14 13:00:25 +01:00
Consul Bot
92d3831e2f New translations moderation.yml (Albanian) 2019-02-14 13:00:24 +01:00
Consul Bot
7b36c5ff59 New translations moderation.yml (Spanish, Costa Rica) 2019-02-14 13:00:20 +01:00
Consul Bot
22fde963fd New translations rails.yml (Spanish, Costa Rica) 2019-02-14 13:00:19 +01:00
Consul Bot
52310b0cdd New translations moderation.yml (Spanish, Colombia) 2019-02-14 13:00:18 +01:00
Consul Bot
1dea00ae47 New translations rails.yml (Spanish, Colombia) 2019-02-14 13:00:16 +01:00
Consul Bot
99d3397b56 New translations moderation.yml (Spanish, Chile) 2019-02-14 13:00:15 +01:00
Consul Bot
7a5e18e1c5 New translations rails.yml (Spanish, Chile) 2019-02-14 13:00:14 +01:00
Consul Bot
38c570a27f New translations moderation.yml (Spanish, Bolivia) 2019-02-14 13:00:12 +01:00
Consul Bot
23b80465d1 New translations rails.yml (Polish) 2019-02-14 13:00:07 +01:00
Consul Bot
1a86e0c968 New translations rails.yml (Spanish, Bolivia) 2019-02-14 13:00:05 +01:00
Consul Bot
cdc1d4a4d2 New translations rails.yml (Spanish, Argentina) 2019-02-14 13:00:01 +01:00
Consul Bot
2d55e9d892 New translations moderation.yml (Spanish) 2019-02-14 12:59:59 +01:00
Consul Bot
5c4e59f5f5 New translations rails.yml (Spanish) 2019-02-14 12:59:58 +01:00
Consul Bot
db7a0e226f New translations rails.yml (Slovenian) 2019-02-14 12:59:56 +01:00
Consul Bot
7939df6e07 New translations moderation.yml (Russian) 2019-02-14 12:59:55 +01:00
Consul Bot
06aa4093c8 New translations rails.yml (Russian) 2019-02-14 12:59:54 +01:00
Consul Bot
28a74c9ded New translations moderation.yml (Portuguese, Brazilian) 2019-02-14 12:59:52 +01:00
Consul Bot
be87cc4df0 New translations rails.yml (Portuguese, Brazilian) 2019-02-14 12:59:51 +01:00
Consul Bot
74285cac73 New translations moderation.yml (Spanish, Argentina) 2019-02-14 12:59:50 +01:00
Consul Bot
1efa1ef097 New translations rails.yml (Albanian) 2019-02-14 12:59:48 +01:00
Julian Nicolas Herrero
4a12425987 Merge pull request #3296 from consul/make_budgets_translatable
[Backport] Make budgets translatable
2019-02-13 19:01:13 +01:00
Julian Nicolas Herrero
e8c77f58a6 Merge pull request #3292 from consul/backport_delete_officer_assignment_with_associated_data
[Backport] Delete Booth Shifts with associated data
2019-02-13 18:56:43 +01:00
Alberto
fad65b621a Merge pull request #3291 from consul/total-votes
[Backport] Use votes score instead of total votes on debates and legislation proposals
2019-02-13 17:15:39 +01:00
Alberto
eacf740087 Merge pull request #3290 from consul/budget-heading-alert
[Backport] Include heading names in "headings limit reached" alert
2019-02-13 17:10:38 +01:00
Julian Herrero
a963a99c55 Use correct scope to sort headings by name 2019-02-13 13:35:09 +01:00
Julian Herrero
29a704bd60 Show headings in budgets landing page when translations are missing 2019-02-13 13:35:09 +01:00
Julian Herrero
1ba50c76c4 Use method from Globalizable module
Since we have a method defined inside the Globalizable
module we don't need to create the same method in every model
2019-02-13 13:35:09 +01:00
Julian Herrero
922600252c Make budget headings translatable 2019-02-13 13:35:07 +01:00
Julian Herrero
1c35ec99c1 Make budget groups translatable 2019-02-13 12:30:37 +01:00
Julian Herrero
90d0a6e416 Make budget phases translatable 2019-02-13 11:44:56 +01:00
Julian Herrero
f38c4e3a0c Highlight budgets menu when editing budget phases 2019-02-13 11:44:46 +01:00
Julian Herrero
7b8f8f0f74 Add spec helper to fill translatable ckeditor fields 2019-02-13 11:44:34 +01:00
Julian Herrero
60ce72f3a0 Make possible to check for more than one ckeditor in the same form.
When more than one ckeditor field this line was raising the error:
"Ambiguous match, found 2 elements matching visible css"
2019-02-13 11:42:27 +01:00
Julian Herrero
dbdbcd662a Remove extra check
Sometimes when updating a resource you are not redirected to the same
resource, you are maybe redirected to the parent resource and the
translations can be different. This condition will be checked after
visiting the edit_path again.
2019-02-13 11:42:18 +01:00
Julian Herrero
d76782f150 Make budgets translatable 2019-02-13 11:41:58 +01:00
decabeza
fbbf092015 Add rake task to calculate cached voted score
Run this task it's only necessary if already existing legislation proposals in DB.
2019-02-13 11:35:21 +01:00
Julian Herrero
2eb2839ab0 Reload path for sluggable models
Sluggable models can update the slug when updating new translations,
so we make sure the path is correct before using it.
2019-02-13 11:29:43 +01:00
Alberto
938d5eba43 Merge pull request #3191 from consul/ui-i18n-details
Fix i18n and UI minor details
2019-02-13 10:55:03 +01:00
Julian Herrero
5f4a369606 Deleting a booth shift with recounts or partial results.
Show a flash message that it's not possible to delete booth shifts
when they have associated recounts or partial results. Before an
execption was raised.
2019-02-12 18:59:51 +01:00
decabeza
6b62ba0e91 Show cached_votes_score on admin legislation proposals 2019-02-12 18:42:44 +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
5c44a3b982 Add cached_votes_score to legislation proposals 2019-02-12 18:42:39 +01:00
decabeza
4e4804e180 Replace total votes to cached_votes_score on debates
This show votes_score as result of votes_up minus votes_down
2019-02-12 18:42:35 +01:00
decabeza
73a0f999ad Add order to voted headings names 2019-02-12 17:19:36 +01:00
decabeza
3471cbb979 Fix hound warnings 2019-02-12 17:19:26 +01:00
voodoorai2000
f4b8099703 Simplify sql query 2019-02-12 17:18:38 +01:00
Marko Lovic
264c4e747b Improve User#headings_supported_within_group performance
Performs a single DB call instead of 3
2019-02-12 17:16:49 +01:00
Marko Lovic
3c9953e9e0 Make content assertion order-independent 2019-02-12 17:16:46 +01:00