From c9e62e22e9742b908ba5d6aeee0cdb43a9ed2fd7 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Fri, 17 Jan 2020 10:37:29 -0500 Subject: [PATCH 01/15] update TO builder copy --- translations.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/translations.yaml b/translations.yaml index 4a3f001d..688b9f8c 100644 --- a/translations.yaml +++ b/translations.yaml @@ -276,7 +276,7 @@ forms: upload_error: There was an error uploading your file. Please try again. If you encounter repeated problems uploading this file, please contact CCPO. size_error: The file you have selected is too large. Please choose a file no larger than 64MB. filename_error: File names can only contain the characters A-Z, 0-9, space, hyphen, underscore, and period. - number_description: Task order number (13 digits) + number_description: 13-Digit Task Order Number pop_errors: date_order: PoP start date must be before end date. range: Date must be between {start} and {end}. @@ -481,8 +481,8 @@ task_orders: expended_funds: All funds spend from the Task Order so far. form: add_clin: Add another CLIN - add_to_header: Add your task order - add_to_description: Now, refer to your document to find the 13-digit task order number. It should be located at lorem ipsum dolar. From now on we'll refer to this portion of funding by the recorded task order number. + add_to_header: Enter the Task Order number + add_to_description: Please input your 13-digit Task Order number. This number may be listed under "Order Number" if your Contracting Officer used form 1149, or "Delivery Order/Call No." if form 1155 was used. Moving forward, this portion of funding will be referenced by the recorded Task Order number. clin_title: Enter Contract Line Items clin_description: "Refer to your task order to locate your Contract Line Item Numbers (CLINs)." clin_details: CLIN Details From 4ed75caf2ad5efcb8cf067662058bf8836a931c4 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Fri, 17 Jan 2020 16:37:57 -0500 Subject: [PATCH 02/15] 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: From 0893ec18ce622d18eec62b3a190421426c07fe8c Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Fri, 17 Jan 2020 16:48:10 -0500 Subject: [PATCH 03/15] Update copy on error page --- translations.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations.yaml b/translations.yaml index 87009c92..5b54d702 100644 --- a/translations.yaml +++ b/translations.yaml @@ -78,7 +78,7 @@ components: errors: default_sub: An error has occured! not_found: Page Not Found - not_found_sub: Looks like that page does not exist! + not_found_sub: This page does not exist. email: application_invite: "{inviter_name} has invited you to a JEDI cloud application" portfolio_invite: "{inviter_name} has invited you to a JEDI cloud portfolio" From 7c78e59624a13f4c45b31569f84610de85c1d134 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Sun, 19 Jan 2020 07:09:25 -0500 Subject: [PATCH 04/15] Update copy on new portfolio form. Style cancel link as a button. --- atst/forms/portfolio.py | 1 + templates/portfolios/new/step_1.html | 9 ++++----- translations.yaml | 6 ++++++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/atst/forms/portfolio.py b/atst/forms/portfolio.py index 069659bb..591cc080 100644 --- a/atst/forms/portfolio.py +++ b/atst/forms/portfolio.py @@ -28,6 +28,7 @@ class PortfolioForm(BaseForm): class PortfolioCreationForm(PortfolioForm): defense_component = SelectMultipleField( + translate("forms.portfolio.defense_component.title"), choices=SERVICE_BRANCHES, widget=ListWidget(prefix_label=False), option_widget=CheckboxInput(), diff --git a/templates/portfolios/new/step_1.html b/templates/portfolios/new/step_1.html index 4a499821..d3d34a10 100644 --- a/templates/portfolios/new/step_1.html +++ b/templates/portfolios/new/step_1.html @@ -12,9 +12,9 @@ {% include "fragments/flash.html" %}

{{ "portfolios.header" | translate }}

-

{{ "New Portfolio" }}

+

{{ "portfolios.new.title" | translate }}

- {{ StickyCTA(text="Create New Portfolio") }} + {{ StickyCTA(text="portfolios.new.cta_step_1"|translate, context=("portfolios.new.sticky_header_context"|translate({"step": "1"}) )) }}
@@ -39,9 +39,9 @@