Update Totals box text and use translations

This commit is contained in:
leigh-mil 2019-06-18 13:57:00 -04:00
parent c91ad961a2
commit f1b2825ab5
3 changed files with 17 additions and 12 deletions

View File

@ -6,15 +6,15 @@
{% set contract_amount = task_order.total_contract_amount %}
{% endif %}
<div class="h4">Total obligated funds</div>
<div class="h4">{{ 'components.totals_box.obligated_funds' | translate }}</div>
<div class="h3">{{ obligated_funds | dollars }}</div>
<div>This is the funding allocated to cloud services. It may be 100% or a portion of the total task order budget.</div>
<div>{{ 'components.totals_box.obligated_text' | translate }}</div>
<hr>
<div class="h4">Total contract amount</div>
<div class="h4">{{ 'components.totals_box.total_amount' | translate }}</div>
<div class="h3">{{ contract_amount | dollars }}</div>
<div>This is the value of all funds obligated for this contract, including -- but not limited to -- funds obligated for the cloud.</div>
<div>{{ 'components.totals_box.total_text' | translate }}</div>
</div>

View File

@ -411,20 +411,20 @@
</div>
<totals-box
inline-template
v-bind:obligated='obligated'
v-bind:contract-amount='total'
>
inline-template
v-bind:obligated='obligated'
v-bind:contract-amount='total'
>
<div class="col totals-box">
<div class="h4">Total obligated funds</div>
<div class="h4">{{ 'components.totals_box.obligated_funds' | translate }}</div>
<div class="h3" v-html="formattedObligated"></div>
<div>This is the funding allocated to cloud services. It may be 100% or a portion of the total task order budget.</div>
<div>{{ 'components.totals_box.obligated_text' | translate }}</div>
<hr>
<div class="h4">Total contract amount</div>
<div class="h4">{{ 'components.totals_box.total_amount' | translate }}</div>
<div class="h3" v-html="formattedContractAmount"></div>
<div>This is the value of all funds obligated for this contract, including -- but not limited to -- funds obligated for the cloud.</div>
<div>{{ 'components.totals_box.total_text' | translate }}</div>
</div>
</totals-box>

View File

@ -50,6 +50,11 @@ components:
modal:
destructive_message: You will no longer be able to access this {resource}
destructive_title: Warning! This action is permanent
totals_box:
obligated_funds: Funds obligated for cloud
obligated_text: This is the funding allocated to cloud services. It may be 100% or a portion of the total task order budget.
total_amount: Total contract amount
total_text: This is the value of all funds obligated for this contract, including -- but not limited to -- funds obligated for the cloud.
usa_header:
flag_image_alt: U.S. Flag
official_message: An official website of the United States government