Use checkmarks for complexity and dev team lists
This commit is contained in:
parent
a1760ad4c0
commit
03e56d6efc
@ -38,6 +38,7 @@
|
|||||||
@import 'components/budget_chart';
|
@import 'components/budget_chart';
|
||||||
@import 'components/audit_log';
|
@import 'components/audit_log';
|
||||||
@import 'components/usa_banner';
|
@import 'components/usa_banner';
|
||||||
|
@import 'components/checklist';
|
||||||
|
|
||||||
@import 'sections/login';
|
@import 'sections/login';
|
||||||
@import 'sections/home';
|
@import 'sections/home';
|
||||||
|
9
styles/components/_checklist.scss
Normal file
9
styles/components/_checklist.scss
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
.checklist {
|
||||||
|
padding-left: 0;
|
||||||
|
list-style: none;
|
||||||
|
margin-top: 5px;
|
||||||
|
|
||||||
|
li {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
@ -55,10 +55,10 @@
|
|||||||
|
|
||||||
<h4>{{ "task_orders.new.review.complexity"| translate }}</h4>
|
<h4>{{ "task_orders.new.review.complexity"| translate }}</h4>
|
||||||
{% if task_order.complexity %}
|
{% if task_order.complexity %}
|
||||||
<ul class="checked-list">
|
<ul class="checklist">
|
||||||
{% for item in task_order.complexity %}
|
{% for item in task_order.complexity %}
|
||||||
<li>
|
<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>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
@ -70,10 +70,10 @@
|
|||||||
<div class="col col--grow">
|
<div class="col col--grow">
|
||||||
<h4>{{ "task_orders.new.review.team"| translate }}</h4>
|
<h4>{{ "task_orders.new.review.team"| translate }}</h4>
|
||||||
{% if task_order.dev_team %}
|
{% if task_order.dev_team %}
|
||||||
<ul>
|
<ul class="checklist">
|
||||||
{% for item in task_order.dev_team %}
|
{% for item in task_order.dev_team %}
|
||||||
<li>
|
<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>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user