ecm_courses2 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b929cc48ab8e2cd631486e7f5f6bfff9ea522cdd
|
4
|
+
data.tar.gz: 64b0332ee8fc6777e6a5b4a5392156bc4731f93d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 165259653718e28f2e6d88be68cd87eb3610b0c86f55b6ae85ed4c001fd80636cff14ee22f3aa09c0e5b096bff6507d5ef40205a85cec22e395d1e5fb6abc7d7
|
7
|
+
data.tar.gz: 9b87601d0f54785b5ae73bedd6624a62aab78e4a1855debf9129d3e3561bf6d3592efe9382eb48f02f63f6cba25bc7fb7f60895d1c651fc3be82db4a1da0b201
|
@@ -2,8 +2,8 @@
|
|
2
2
|
%span{ class: "label label-#{course.free_seats_level_properties[:css_class]}" }
|
3
3
|
- if course.free_seats_level_range.last == 100
|
4
4
|
- percentage = number_to_percentage(course.free_seats_level_range.first, precision: 0)
|
5
|
-
= t('.
|
5
|
+
= t('.greater_than', percentage: percentage)
|
6
6
|
|
7
7
|
- else
|
8
8
|
- percentage = number_to_percentage(course.free_seats_level_range.last, precision: 0)
|
9
|
-
= t('.
|
9
|
+
= t('.less_than', percentage: percentage)
|
data/lib/ecm/courses/version.rb
CHANGED