Commit Graph

8486 Commits

Author SHA1 Message Date
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
Alberto García
69c93a0efe Merge pull request #2355 from consul/finished-budgets
Finished budgets list
2018-01-22 17:35:56 +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
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
decabeza
f1ce68a445 changes back link on header to budgets_path 2018-01-19 14:35:05 +01:00
decabeza
27111b95c3 makes sure description has white color 2018-01-19 14:35:05 +01:00
decabeza
f722caac24 removes budget steps on header 2018-01-19 14:35:05 +01:00
Bertocq
f17527f467 Update translations from crowdin 2018-01-19 14:12:51 +01:00
Bertocq
17671fa29b Remove duplicated activerecord translation key 2018-01-19 13:40:21 +01:00
BertoCQ
926947bdc9 Merge pull request #2343 from consul/confirmations
Add intermediate page to choose between creating a proposal or an investment
2018-01-18 23:28:50 +01:00
decabeza
57c0907b9b adds some strong tags on guide texts 2018-01-18 21:09:21 +01:00
decabeza
88657f43ba add content and styles for guides/new page 2018-01-18 21:09:21 +01:00
decabeza
dcc2240eb6 adds i18n keys 2018-01-18 21:09:21 +01:00
rgarcia
8a669b86bd Fix English grammar in translations 2018-01-18 21:09:21 +01:00
rgarcia
d3d05f9cee Add guide to create a proposal or investment
During a Participatory Budget, some users are getting confused and
creating a proposal instead of a budget investment. This intermediate
page should help them create investments

Adding a feature flag just in case other forks don’t need this feature
and setting seeds and dev_seeds for appropriate initial setup
2018-01-18 21:09:21 +01:00
BertoCQ
3e316edc40 Merge pull request #2185 from consul/improve_consul_json_spec
Improve consul.json request spec
2018-01-18 21:08:54 +01:00
Bertocq
808c4eddfc Fix budget investment feature spec 2018-01-18 18:59:57 +01:00
BertoCQ
dd56797fdd Merge pull request #2341 from consul/budgets-phases-front
Budgets phases front
2018-01-18 18:07:19 +01:00
Bertocq
06a1785445 Prevent empty html to be safe rendered to html with links 2018-01-18 17:55:21 +01:00