Show 'Not Selected' if there is no defense component

This commit is contained in:
Montana 2019-02-27 11:18:45 -05:00
parent 0b33a67d29
commit 5d4bc5719b
2 changed files with 7 additions and 4 deletions

View File

@ -24,14 +24,16 @@
<button type="submit" class="usa-button usa-button-big usa-button-primary" tabindex="0">Save</button>
</div>
</div>
{% if portfolio.defense_component %}
<div class='defense-row'>
<div>
<div class='admin-title'>{{ "forms.task_order.defense_component_label" | translate }}</div>
<div class='admin-content'>{{ portfolio.defense_component }}</div>
{% if portfolio.defense_component %}
<div class='admin-content'>{{ portfolio.defense_component }}</div>
{% else %}
<div class='admin-content'>{{ "fragments.portfolio_admin.none" | translate }}</div>
{% endif %}
</div>
</div>
{% endif %}
</form>
{% include "fragments/audit_events_log.html" %}

View File

@ -6,7 +6,6 @@
# title: A title with <a href="#">a link</a>!
# `{{ "login.title" | translate | safe }}`
audit_log:
events:
default:
@ -298,6 +297,8 @@ fragments:
bullet_1: Make sure the information below matches the final task order and is accurate and up-to-date
bullet_2: Upload your Task Order (TO) document
bullet_3: Add both the Task Order (TO) and Line(s) of Accounting (LOA) numbers
portfolio_admin:
none: Not Selected
login:
ccpo_logo_alt_text: Cloud Computing Program Office Logo
certificate_selection: