Commit Graph

8801 Commits

Author SHA1 Message Date
decabeza
7a17db01ef adds links with filters on budgets results page 2018-01-22 19:27:54 +01:00
Angel Perez
3f6a9187ec Add 'current applied filters' message to investments partial 2018-01-22 14:04:57 -04:00
Angel Perez
1027896617 Reenable 'winners' tab under Admin::Budget::Investment 2018-01-22 14:04:57 -04:00
Angel Perez
a79e60ecd1 Add spec for Admin::Budget::Investment 'max_per_heading' filter 2018-01-22 14:04:56 -04:00
Angel Perez
dddf026a59 Adapt Admin::Budget::Investment failing specs to new filter UI 2018-01-22 14:04:56 -04:00
Angel Perez
a085f471df Replace 'selection' header on investments partial with 'selected' 2018-01-22 14:02:29 -04:00
Angel Perez
3826f040c2 Add missing 'tbody' HTML tag to investments partial 2018-01-22 14:02:29 -04:00
Angel Perez
ff40d32028 Add new filters to Admin::Budget::Investment navbar 2018-01-22 14:02:29 -04:00
Angel Perez
e92a67a206 Simplify filters navbar on Admin::Budget::Investment 2018-01-22 14:02:29 -04:00
Angel Perez
e5c73d8f02 Add advanced filters for Admin::Budget::Investment 2018-01-22 14:02:29 -04:00
María Checa
7fef4190fa Updated changelog 2018-01-22 18:22:04 +01:00
María Checa
1f461b09f0 Merge pull request #2353 from consul/2339-admin_budgets_phases
Allow admins to edit Budget phases
2018-01-22 18:07:34 +01:00
María Checa
b706f0c8bb Merge pull request #2142 from wairbut-m2c/rfuentes-add-advanced-menu-to-order-proposals
Add advanced search menu to investments list
2018-01-22 17:46:19 +01:00
rgarcia
e456f5fc1c Remove duplicate dev_seed execution 2018-01-22 17:40:56 +01:00
rgarcia
8fb9be9d07 Fix RSpec's should deprecation warning
Using `stub` from rspec-mocks' old `:should` syntax without explicitly
enabling the syntax is deprecated. Use the new `:expect` syntax or
explicitly enable `:should` instead
2018-01-22 17:40:56 +01:00
Alberto García
69c93a0efe Merge pull request #2355 from consul/finished-budgets
Finished budgets list
2018-01-22 17:35:56 +01:00
rgarcia
398cdd2d4c Reduce travis' knapsack log level to info 2018-01-22 17:31:46 +01:00
rgarcia
9a4d6750fc Clean up asset precompilation output from travis logs
Asset precompilation generates a lot of logs, making it slower to
scroll down to see the commonly relevant information, knowing what spec
has failed

Redirecting standard error and standard output to dev/null helps reach
this information faster
2018-01-22 16:55:44 +01:00
Bertocq
0359488477 Fix months names and abbr on rails files after crowdin breaks them 2018-01-22 16:38:07 +01:00
Bertocq
891b81920d Fix bad crowdin rails.yml dates list format 2018-01-22 16:24:45 +01:00
decabeza
f37141b2ac Corrects again texts for investments 2018-01-22 15:56:37 +01:00
Bertocq
0f88343f06 Remove spanish derived language translations, really just copies of spanish right now 2018-01-22 15:53:45 +01:00
decabeza
0eaba9fc9e changes order for finished budgets on budgets homepage list 2018-01-22 14:46:54 +01:00
Bertocq
155840a130 Sanitize & truncate text for socialmedia metatags
Why:

The html tags weren't removed from the text that was rendered at the
social metatags (twitter & facebook), neither scaped so adding a quoted
text would endup breaking the metatag content and writting in plain
sight the description at the browser view.

How:

Saniziting the text and truncating it afterwards since we don't need to
send more than 140 chars for twitter/facebook social cards.
2018-01-22 11:52:35 +01:00
Raúl Fuentes
93268fc5d6 changed advanced filter from budgets to budgets/investments 2018-01-22 09:59:09 +01:00
Raúl Fuentes
a56be4bc5f added I18n to phase select 2018-01-22 09:59:09 +01:00
Raúl Fuentes
bb39f8af0a issue #1436, mirrored behavior from proposals 2018-01-22 09:59:09 +01:00
Bertocq
8eaf0982b1 Fixed Admin Budget's destroy button to a link
Why:

The Admin Budget form has a submit button for saving the record, adding
another submit input to destroy the record actually adds to the html:
`<input type="hidden" name="_method" value="delete">` and it collides
with the save button, forcing it to perform a destroy instead of save.

Previously the destroy button was not in the same div as the save button

How:
Just changing the Destroy from a button_to to a link_to.
2018-01-20 14:03:14 +01:00
María Checa
94279448f3 Replaced 'participatory budget' with 'budget' 2018-01-20 14:03:14 +01:00
María Checa
2fd53d6394 Added admin budget phases tests 2018-01-20 14:03:13 +01:00
Bertocq
28008d64e2 Improve performance swapping keys.each for each_key, plus line lenght comply 2018-01-19 23:44:08 +01:00
Bertocq
7f6c1f4e97 Fix to_not for not_to in guides spec 2018-01-19 23:42:39 +01:00
Bertocq
11bf3e685b Update rubocop-rspec gem ver to 1.22.1 2018-01-19 23:38:21 +01:00
Bertocq
d773f0dc54 Update i18n-tasks gem ver to 0.9.20 2018-01-19 23:34:34 +01:00
Angel Perez
baa50b9b51 Fix: Missing I18n key on Admin::Budgets index view 2018-01-19 15:34:44 -04:00
Angel Perez
ac5c8cc02f Fix: Typo on Admin::HiddenUsers controller views 2018-01-19 15:34:44 -04:00
Angel Perez
8499549eeb Add missing I18n key for Admin::Poll::Questions::Answers::Images 2018-01-19 15:34:44 -04:00
María Checa
c9f0bf4947 Added new translations 2018-01-19 18:19:54 +01:00
María Checa
a97c007150 Added admin budget phases views 2018-01-19 18:19:46 +01:00
Bertocq
3322dac13a Improve travis slack notifications to only notify about failure & fixes 2018-01-19 18:19:45 +01:00
María Checa
1abb7f0310 Added admin budget phases controller and routes 2018-01-19 17:55:24 +01:00
BertoCQ
26656a8dfd Merge pull request #2352 from consul/i18n_master
New Crowdin translations
2018-01-19 17:24:36 +01:00
Bertocq
536c09d289 Update travis config with travis command line client & add slack integration 2018-01-19 17:03:47 +01:00
Bertocq
4df6479c26 Update translations from Crowdin 2018-01-19 16:56:23 +01:00
BertoCQ
54f3c2b460 Merge pull request #2348 from consul/budgets-design-polish
Budgets design polish
2018-01-19 15:19:24 +01:00
Bertocq
4b5cfec5ee Correctly configure valencian (spanish) lang name for crowdin 2018-01-19 15:06:39 +01:00
Bertocq
6f653c753d Update unrelesed section of changelog 2018-01-19 14:51:45 +01:00
BertoCQ
e60f203ad3 Merge pull request #2347 from consul/i18n_master
New Crowdin translations
2018-01-19 14:48:22 +01:00
decabeza
32c442ec66 removes description on finished participatory budgets 2018-01-19 14:35:05 +01:00
decabeza
5ffd06257a updates texts for investments 2018-01-19 14:35:05 +01:00