-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1955 from GSA-TTS/main
- Loading branch information
Showing
29 changed files
with
684 additions
and
663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 20 additions & 11 deletions
31
backend/audit/templates/audit/submission_checklist/icon-list-icon.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,30 @@ | ||
{% comment %} | ||
<div> for icon list icon. | ||
If completed is true, use a success-darker (dark green) check. Else, an empty space. | ||
If completed, use a success-darker (dark green) check. | ||
If incomplete, an empty checkbox. | ||
Else if inactive, an empty space. | ||
|
||
Variables: | ||
completed (bool) | ||
display (str) | ||
{% endcomment %} | ||
{% load sprite_helper %} | ||
{% if completed %} | ||
<div class="usa-icon-list__icon text-success-darker"> | ||
<svg class="usa-icon margin-right-3" aria-hidden="true" role="img"> | ||
{% uswds_sprite "check_circle" %} | ||
</svg> | ||
</div> | ||
<div class="usa-icon-list__icon text-success-darker"> | ||
<svg class="usa-icon margin-right-3" aria-hidden="true" role="img"> | ||
{% uswds_sprite "check_circle" %} | ||
</svg> | ||
</div> | ||
{% elif display == 'incomplete' %} | ||
<div class="usa-icon-list__icon "> | ||
<svg class="usa-icon margin-right-3" aria-hidden="true" role="img"> | ||
{% comment %} {% uswds_sprite "radio_button_unchecked" %} {% endcomment %} | ||
</svg> | ||
</div> | ||
{% else %} | ||
<div class="usa-icon-list__icon text-success-darker"> | ||
<svg class="usa-icon margin-right-3" aria-hidden="true" role="img"> | ||
{% comment %} {% uswds_sprite "radio_button_unchecked" %} {% endcomment %} | ||
</svg> | ||
</div> | ||
<div class="usa-icon-list__icon text-disabled-dark"> | ||
<svg class="usa-icon margin-right-3" aria-hidden="true" role="img"> | ||
{% comment %} {% uswds_sprite "radio_button_unchecked" %} {% endcomment %} | ||
</svg> | ||
</div> | ||
{% endif %} |
Oops, something went wrong.