Use checkmarks for complexity and dev team lists

This commit is contained in:
leigh-mil 2019-01-15 15:10:59 -05:00
parent a1760ad4c0
commit 03e56d6efc
3 changed files with 14 additions and 4 deletions

View File

@ -38,6 +38,7 @@
@import 'components/budget_chart';
@import 'components/audit_log';
@import 'components/usa_banner';
@import 'components/checklist';
@import 'sections/login';
@import 'sections/home';

View File

@ -0,0 +1,9 @@
.checklist {
padding-left: 0;
list-style: none;
margin-top: 5px;
li {
margin-bottom: 0;
}
}

View File

@ -55,10 +55,10 @@
<h4>{{ "task_orders.new.review.complexity"| translate }}</h4>
{% if task_order.complexity %}
<ul class="checked-list">
<ul class="checklist">
{% for item in task_order.complexity %}
<li>
{{ "forms.task_order.complexity.{}".format(item) | translate }}{% if item == 'other' %}: {{ task_order.complexity_other }}{% endif %}
{{ Icon('ok', classes='icon--gray icon--medium') }}{{ "forms.task_order.complexity.{}".format(item) | translate }}{% if item == 'other' %}: {{ task_order.complexity_other }}{% endif %}
</li>
{% endfor %}
</ul>
@ -70,10 +70,10 @@
<div class="col col--grow">
<h4>{{ "task_orders.new.review.team"| translate }}</h4>
{% if task_order.dev_team %}
<ul>
<ul class="checklist">
{% for item in task_order.dev_team %}
<li>
{{ item.title() }}{% if item == 'other' %}: {{ task_order.dev_team_other }}{% endif %}
{{ Icon('ok', classes='icon--gray icon--medium') }}{{ item.title() }}{% if item == 'other' %}: {{ task_order.dev_team_other }}{% endif %}
</li>
{% endfor %}
</ul>