From 4ed75caf2ad5efcb8cf067662058bf8836a931c4 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Fri, 17 Jan 2020 16:37:57 -0500 Subject: [PATCH] Replace Lorem on Reports page --- templates/portfolios/reports/portfolio_summary.html | 12 ++++++------ translations.yaml | 9 +++++++++ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/templates/portfolios/reports/portfolio_summary.html b/templates/portfolios/reports/portfolio_summary.html index 432ad28e..3395a205 100644 --- a/templates/portfolios/reports/portfolio_summary.html +++ b/templates/portfolios/reports/portfolio_summary.html @@ -5,15 +5,15 @@
- Total Portfolio Value - {{Tooltip(("common.lorem" | translate), title="", classes="summary-item__header-icon")}} + {{ "portfolios.reports.total_value.header" | translate }} + {{Tooltip(("portfolios.reports.total_value.tooltip" | translate), title="", classes="summary-item__header-icon")}}

{{ total_portfolio_value | dollars }}

- Funding Duration - {{Tooltip(("common.lorem" | translate), title="", classes="summary-item__header-icon")}} + {{ "portfolios.reports.duration.header" | translate }} + {{Tooltip(("portfolios.reports.duration.tooltip" | translate), title="", classes="summary-item__header-icon")}}
{% set earliest_pop_start_date, latest_pop_end_date = portfolio.funding_duration %} {% if earliest_pop_start_date and latest_pop_end_date %} @@ -28,8 +28,8 @@
- Days Remaining - {{Tooltip(("common.lorem" | translate), title="", classes="summary-item__header-icon")}} + {{ "portfolios.reports.days_remaining.header" | translate }} + {{Tooltip(("portfolios.reports.days_remaining.toolip" | translate), title="", classes="summary-item__header-icon")}}

{{ portfolio.days_to_funding_expiration }} days

diff --git a/translations.yaml b/translations.yaml index 688b9f8c..87009c92 100644 --- a/translations.yaml +++ b/translations.yaml @@ -453,6 +453,12 @@ portfolios: members: archive_button: Delete member reports: + days_remaining: + header: Days Remaining + toolip: Days remaining are the days of funding remaining in the portfolio. + duration: + header: Funding Duration + tooltip: Funding duration is the period of time that there is a valid task order funding the portfolio. estimate_warning: Reports displayed in JEDI are estimates and not a system of record. empty_state: message: Nothing to report. @@ -460,6 +466,9 @@ portfolios: can_create_applications: This portfolio has no cloud environments set up, so there is no spending data to report. Create an application with some cloud environments to get started. cannot_create_applications: This portfolio has no cloud environments set up, so there is no spending data to report. Contact the portfolio owner to set up some cloud environments. action_label: 'Add a new application' + total_value: + header: Total Portfolio Value + tooltip: Total portfolio value is all obligated and projected funds for all task orders in this portfolio. task_orders: add_new_button: Add New Task Order review: