Javier Martín
ef0192c3ff
Merge pull request #2912 from consul/backport-make-collaborative-legislation-translatable
...
Make collaborative legislation translatable
2018-09-24 17:45:59 +02:00
Javier Martín
758d3f8541
Merge pull request #2911 from consul/backport-fix_time_related_specs
...
Fix time related specs
2018-09-24 17:43:22 +02:00
Julian Herrero
df9955e0c6
make use of the new spec helper it_behaves_like translatable
2018-09-21 20:52:35 +02:00
Julian Herrero
673ec075eb
Make answers translatable
2018-09-20 17:13:40 +02:00
Julian Herrero
5e6248d2ac
Make questions translatable
2018-09-20 17:11:53 +02:00
Julian Herrero
9495208518
Make polls translatable
2018-09-20 17:07:43 +02:00
Javi Martín
4d238c5d07
Fix crash updating legislation process categories
...
We were expecting translation parameters in legislation processes
`update` action. However, those parameters aren't sent when we get to
that action through the "proposals" tab.
2018-09-19 14:54:52 +02:00
Javi Martín
58ad333791
Remove duplicate lines
2018-09-19 14:54:52 +02:00
Marko Lovic
64d72ca8e7
Enable JS in shared translatable test
...
Due to its markdown editor, the admin draft version page
requires JS to correctly render the draft version form.
2018-09-19 14:54:24 +02:00
Marko Lovic
05bfa193cd
Make Legislation Draft Versions translatable
2018-09-19 14:54:24 +02:00
Marko Lovic
06347062dd
Make Legislation Questions translatable
2018-09-19 14:54:24 +02:00
Marko Lovic
d78aea1fd3
Make Legistlation Processes translatable
2018-09-19 14:54:24 +02:00
Javi Martín
c1bb1fb2e1
Fix flaky admin notifications spec
...
It was failing when executed right before midnight due to the date
changing between the moment the notification is created and the moment
the test checks the notification shows the current date.
2018-09-19 14:21:47 +02:00
Marko Lovic
f6749049c9
Make Admin Notifications translatable
2018-09-19 12:15:26 +02:00
Marko Lovic
5ff85d33d6
Fix submit button text for Admin Notifications admin form
...
In Madrid, the button text didn't change depending on whether the form
is for the "new" page or for the "edit" page.
In consul, the buttons texts were "create admin notification" and
"update admin notification" instead of "create notification" and "update
notification".
Also change translation key from "submit" to "submit_button" to
match other instances.
2018-09-19 12:05:18 +02:00
Javi Martín
612fdb09dd
Share translatable specs
2018-09-17 20:34:43 +02:00
Javi Martín
726110c91e
Share Globalize JavaScript interface specs
2018-09-17 20:34:20 +02:00
Raimond Garcia
cae210c155
Merge pull request #2887 from wairbut-m2c/backport/db_queries
...
[Backport] Replace `.all.each` with `.find_each` to reduce memory usage
2018-09-17 19:06:46 +02:00
Angel Perez
19b0c410da
Remove JS driver usage for legislation/processes#update scenarios
2018-09-10 11:45:29 -04:00
Angel Perez
601391954a
Refactor tests to interact directly with the UI rather than with the DOM
2018-09-10 11:41:37 -04:00
Angel Perez
ffe421ae69
Replace .all.each with .find_each on admin specs
2018-09-10 11:40:24 -04:00
Raimond Garcia
4f2ed27f8c
Merge pull request #2865 from consul/backport_1585-make_banners_translatable
...
[Backport] Make banners translatable
2018-09-10 16:41:33 +02:00
Alberto
21f36e6be5
Merge branch 'master' into feature/1-nav-content-blocks
2018-09-05 12:41:07 +02:00
Marko Lovic
0fa4b60f39
Make Banners translatable
2018-08-30 16:29:29 +02:00
decabeza
56bdcf4be2
Updates text on admin notifications spec
2018-07-31 13:25:53 +02:00
decabeza
3fee56e8fe
Updates admin site customization specs
2018-07-31 12:55:05 +02:00
decabeza
bb05f86156
Updates admin legislation specs
2018-07-31 12:54:59 +02:00
Raimond Garcia
2c79197a05
Merge pull request #2809 from wairbut-m2c/backport/translatable-content-for-admin
...
Basic content for I18n on Admin panel
2018-07-27 18:01:00 +02:00
Alberto
fb19aafee7
Merge pull request #2778 from wairbut-m2c/backport/investments-moderation
...
Allow budget investments to be moderated
2018-07-27 12:34:17 +02:00
Angel Perez
a943c24aa7
Replace Madrid-specific texts with CONSUL ones
2018-07-26 21:13:53 -04:00
Angel Perez
1255389ef7
Remove redundant translation specs
2018-07-26 20:49:12 -04:00
rgarcia
78a5c0356e
Add globalization javascript interface specs
2018-07-26 20:49:00 -04:00
Angel Perez
9c74fa393d
Translations can be removed
2018-07-26 20:49:00 -04:00
Angel Perez
ad252ca835
Translations can be updated correctly
2018-07-26 20:49:00 -04:00
rgarcia
82f496ccfa
Fix globalization for information texts
...
Refactoring and making similar specs to the milestones globalization specs
2018-07-26 20:48:56 -04:00
Angel Perez
42eb784922
Add specs for basic Admin Globalize feature
2018-07-26 19:08:42 -04:00
rgarcia
f521188cd0
Fix specs with recently updated I18n values
2018-07-26 19:07:38 -04:00
Ziyan Junaideen
ffe7465b86
Spec adjustments
2018-07-26 22:55:49 +05:30
María Checa
9d580e15f5
Adds activity tab for system emails
2018-07-26 17:55:06 +02:00
María Checa
eb8c021451
Adds button to send pending proposal notifications
2018-07-26 17:55:06 +02:00
Angel Perez
c240c57171
Add budget investment factory to fix failing scenario
...
Changes introduced in commits 41f66fa and dc87b75 will render the
'See results' button under `admin/budget_investments` only if a
finished budget has winner investments associated with it
2018-07-26 14:54:20 +02:00
María Checa
15a07ad4eb
Adds logic to show 'see results' button only for finished budgets
2018-07-26 14:31:42 +02:00
Alberto
89f2f53e75
Merge pull request #2799 from wairbut-m2c/backport-2588-fix_supports_filter
...
Fix `max_per_heading` filter in Admin budget investments list
2018-07-26 14:11:03 +02:00
Alberto
f93b1e24fb
Merge pull request #2797 from wairbut-m2c/fix-admin-budget-investments-spec
...
Fix order-dependent spec
2018-07-26 13:57:04 +02:00
Alberto
d17b628426
Merge branch 'master' into backport-2588-fix_supports_filter
2018-07-26 13:44:20 +02:00
Alberto
273781430c
Merge pull request #2800 from wairbut-m2c/backport-2589-investments_supports_order_filter
...
Change admin budget investments list order by supports from less to more
2018-07-26 13:43:28 +02:00
María Checa
5dfefbbe2f
Change admin budget investments list order by supports from less to more
...
Sorting by id is in descending order and by title ascending
Backported from AyuntamientoMadrid/consul
2018-07-26 12:24:53 +02:00
Marko Lovic
b816a5be00
Fix order-dependent specs
...
Due to how DB IDs are assigned with AUTO INCREMENT, tests
cannot assume that any specific ID will be available.
2018-07-26 11:25:51 +02:00
María Checa
4d355f3531
Added year to showed creation date and ordered by date DESC
...
Backported from AyuntamientoMadrid/consul fork
2018-07-26 10:22:42 +02:00
Bertocq
ac9f85e208
Change Proposal Notification Digest link to anchor
...
On the proposal notification digest messages there was a link to each
notification. Instead we need that link to point towards the notifications
tab of the proposal.
2018-07-25 20:20:33 +02:00