Alberto
45079c2963
Merge pull request #3229 from consul/polls-results-stats
...
[Backport] Hide polls results and stats to admins
2019-01-24 17:46:39 +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
b27616eeed
Add styles to milestones progress bars
2019-01-24 17:40:05 +01:00
decabeza
a497e57475
Replace progress tag to div class progress
2019-01-24 17:39:56 +01:00
Javi Martín
97ef69ee33
Rename progressable specs to admin_progressable
...
We're going to introduce progress bars in the public view as well, and
it's more consistent with "admin_milestoneable".
2019-01-24 17:39:42 +01:00
Javi Martín
1962fcc2a2
Hide locale selector for primary progress bars
...
These progress bars don't have any translatable attributes.
2019-01-24 17:34:55 +01:00
Javi Martín
8c5907a3fb
Add percentage text to progress bars
...
Note we require extra <span> tags because the <progress> tag is an empty
tag (like <img>), and so it can't have ::before or ::after
pseudo-elements. There's a workaround for that, but currently it only
works on Chrome.
For some reason, the text seems to be slightly misaligned vertically in
all implementations I've tried. So the `top: -0.1rem` rule is a hack to
align it properly.
2019-01-24 17:34:04 +01:00
Javi Martín
ce0a93be58
Add styles to milestones progress bars
2019-01-24 17:33:56 +01:00
Javi Martín
84fc254e92
Extract milestones progress bars to a partial
2019-01-24 17:33:49 +01:00
Javi Martín
b552f6e70b
Add heading to milestones progress bars
2019-01-24 17:33:43 +01:00
Javi Martín
e73f3bd97a
Add progress bars to milestones public view
2019-01-24 17:33:34 +01:00
decabeza
045c4eca64
Allow change map image from admin site customization
...
Also adds on site customization image.rb jpeg content type to allow replace this image.
2019-01-24 14:55:01 +01:00
decabeza
7e89cc149f
Replace default map image
2019-01-24 14:52:44 +01:00
decabeza
4498c26ff7
Create helper for active menus and show stats or results on poll subnav
2019-01-24 14:44:11 +01:00
decabeza
62088bc635
Hide poll results and stats to admins
2019-01-24 14:33:41 +01:00
Alberto
ad355d4df6
Merge pull request #3197 from consul/add_progress_bar_dev_seeds
...
[Backport] Add progress bar dev seeds
2019-01-24 12:44:51 +01:00
Javi Martín
0a710a77f2
Add progress bars dev seeds
2019-01-24 12:03:02 +01:00
Javi Martín
7317238382
Reduce the number of locales for milestones seeds
...
Creating records for every locale was taking too long now that CONSUL is
available in 15 languages.
2019-01-24 12:03:02 +01:00
Javi Martín
210ab69197
Add milestone seeds to legislation processs
2019-01-24 12:03:02 +01:00
Alberto
25b56e84ec
Merge pull request #3196 from consul/refactor_milestones_css
...
[Backport] Refactor milestones css
2019-01-24 12:02:15 +01:00
Alberto
227f496f6d
Merge pull request #3195 from consul/milestone_progress_bar
...
[Backport] Manage milestone progress bars
2019-01-24 11:59:24 +01:00
Alberto
c3d77820ab
Merge pull request #3203 from consul/admin-budgets-form
...
[Backport] Show current phase as selected on phase select on admin budgets form
2019-01-23 15:21:19 +01:00
decabeza
75531c6c80
Show current phase as selected on phase select on admin budgets form
2019-01-23 14:30:35 +01:00
Alberto
d4eaa03c52
Merge pull request #3200 from consul/legislation-proposal-new
...
Remove help and recommendations on legislation proposal new form
2019-01-23 14:27:06 +01:00
Manu
abcb96ffda
added test spec for creation of legislative process with image
2019-01-22 16:32:05 -05:00
Julian Herrero
33d6f6c18d
Sort Legislation Processes by descending start date
2019-01-22 18:51:22 +01:00
Yury Laykov
108acde13a
Update images.yml
2019-01-22 17:04:11 +03:00
Yury Laykov
cf56b683fc
Update documents.yml
2019-01-22 17:03:42 +03:00
Yury Laykov
20b84793b3
Update devise.yml
2019-01-22 17:03:18 +03:00
Yury Laykov
680022c44c
Update community.yml
2019-01-22 17:02:48 +03:00
Yury Laykov
d437c8b84c
Update budgets.yml
2019-01-22 17:02:20 +03:00
Yury Laykov
6376f8a565
Update activerecord.yml
2019-01-22 17:01:47 +03:00
Yury Laykov
a0e39d3972
Update verification.yml
2019-01-22 17:01:21 +03:00
Yury Laykov
4c5cbcc397
Update valuation.yml
2019-01-22 17:00:56 +03:00
Yury Laykov
a8170479d6
Update social_share_button.yml
2019-01-22 17:00:29 +03:00
Yury Laykov
172183cc0d
Update settings.yml
2019-01-22 17:00:01 +03:00
Yury Laykov
13fc369776
Update seeds.yml
2019-01-22 16:59:35 +03:00
Yury Laykov
8bb8e4055c
Update responders.yml
2019-01-22 16:59:05 +03:00
Yury Laykov
cb72615f13
Update rails.yml
2019-01-22 16:58:27 +03:00
Yury Laykov
c77a3782c3
Update pages.yml
2019-01-22 16:57:59 +03:00
Yury Laykov
4143a0ccf5
Update officing.yml
2019-01-22 16:57:33 +03:00
Yury Laykov
dddfa5bf99
Update moderation.yml
2019-01-22 16:57:07 +03:00
Yury Laykov
5e2cf85697
Update management.yml
2019-01-22 16:56:40 +03:00
Yury Laykov
035fc23622
Update mailers.yml
2019-01-22 16:56:07 +03:00
Yury Laykov
f80a6684c1
Update legislation.yml
2019-01-22 16:55:39 +03:00
Yury Laykov
df15763ff5
Update kaminari.yml
2019-01-22 16:55:08 +03:00
Yury Laykov
5f896e6311
Update general.yml
2019-01-22 16:53:57 +03:00
Yury Laykov
20c410bb36
Update devise_views.yml
2019-01-22 16:53:08 +03:00
Yury Laykov
518be4386e
Update admin.yml
2019-01-22 16:51:36 +03:00
decabeza
f5c7065d90
Remove help and recommendations on legislation proposal new form
2019-01-22 11:52:25 +01:00