File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -3628,9 +3628,9 @@ span.highlighted {
3628
3628
text-align : center; }
3629
3629
# sponsorship_application_container form {
3630
3630
margin-bottom : 0 ; }
3631
- # sponsorship_application_container form {
3632
- . package_only_label { color : # 666666 ; }
3633
- .active { color : # 3776ab ; } }
3631
+ # sponsorship_application_container form . package_only { color : # 666666 ; }
3632
+ # sponsorship_application_container form . package_only . active { color : # 3776ab ; }
3633
+ # sponsorship_application_container form .active { color : # 3776ab ; }
3634
3634
# sponsorship_application_container # package_selection {
3635
3635
display : inline-block; }
3636
3636
# sponsorship_application_container # package_selection li {
Original file line number Diff line number Diff line change @@ -2407,9 +2407,12 @@ span.highlighted {
2407
2407
form {
2408
2408
margin-bottom : 0 ;
2409
2409
2410
- .package_only_label {
2410
+ .package_only {
2411
2411
color : $grey ;
2412
2412
}
2413
+ .package_only.active {
2414
+ color : $blue ;
2415
+ }
2413
2416
.active {
2414
2417
color : $blue ;
2415
2418
}
Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ <h3 class="title">{{ field.label }}</h3>
53
53
< ul id ="id_{{ field.name }} ">
54
54
{% for benefit in field.field.queryset %}
55
55
< li class ="{% cycle '' 'highlight' %} ">
56
- < label for ="id_{{field.name}}_{{ forloop.counter0 }} " benefit_id ="{{ benefit.id }} ">
56
+ < label for ="id_{{field.name}}_{{ forloop.counter0 }} " {% if benefit.package_only %} class =' package_only ' {% endif %} benefit_id ="{{ benefit.id }} ">
57
57
< input id ="id_{{field.name}}_{{ forloop.counter0 }} " name ="{{ field.name }} " type ="checkbox " value ="{{ benefit.id }} " {% if benefit.unavailability_message %}disabled{% endif %} {% if benefit.id in field.initial %}checked{% endif %} {% if benefit.package_only %}package_only ='true '{% endif %} >
58
- < span {% if benefit.package_only %} class =' package_only_label ' {% endif %} > {{ benefit.name }}</ span >
58
+ < span > {{ benefit.name }}</ span >
59
59
{% if benefit.description %}< i class ="fa fa-info " title ="{{ benefit.description }} "> </ i > {% endif %}
60
60
{% if benefit.package_only %}< i class ="fa fa-cubes " title ="{{ benefit_model.PACKAGE_ONLY_MESSAGE }} "> </ i > {% endif %}
61
61
{% if not benefit.has_capacity %}< i class ="fa fa-close " title ="{{ benefit_model.NO_CAPACITY_MESSAGE }} "> </ i > {% endif %}
You can’t perform that action at this time.
0 commit comments