{{ new_member.user_name }} was successfully invited via email to this workspace. They do not yet have access to any environments.
- +{{ new_member.user_name }} was successfully invited via email to this portfolio. They do not yet have access to any environments.
+ """, "category": "success", }, - "revoked_workspace_access": { - "title_template": "Removed workspace access", + "revoked_portfolio_access": { + "title_template": "Removed portfolio access", "message_template": """Portfolio access successfully removed from {{ member_name }}.
""", "category": "success", }, - "resend_workspace_invitation": { + "resend_portfolio_invitation": { "title_template": "Invitation resent", "message_template": """Successfully sent a new invitation to {{ user_name }}.
""", "category": "success", }, - "workspace_role_updated": { + "portfolio_role_updated": { "title_template": "Portfolio role updated successfully", "message_template": """{{ member_name }}'s role was successfully updated to {{ updated_role }}
@@ -44,14 +44,14 @@ MESSAGES = { """, "category": "warning", }, - "new_workspace": { + "new_portfolio": { "title_template": "Portfolio created!", "message_template": """You are now ready to create applications and environments within the JEDI Cloud.
""", "category": "success", }, - "workspace_member_dod_id_error": { + "portfolio_member_dod_id_error": { "title_template": "CAC ID Error", "message_template": """ The member attempted to accept this invite, but their CAC ID did not match the CAC ID you specified on the invite. Please confirm that the DOD ID is accurate. diff --git a/js/components/members_list.js b/js/components/members_list.js index 71db3796..57695ad2 100644 --- a/js/components/members_list.js +++ b/js/components/members_list.js @@ -84,7 +84,7 @@ export default { sortFunc: alphabeticalSort }, { - displayName: 'Workspace Role', + displayName: 'Portfolio Role', attr: 'role', sortFunc: alphabeticalSort, }, diff --git a/js/components/tables/spend_table.js b/js/components/tables/spend_table.js index c87028ab..56f68b70 100644 --- a/js/components/tables/spend_table.js +++ b/js/components/tables/spend_table.js @@ -6,7 +6,7 @@ export default { props: { applications: Object, - workspace: Object, + portfolio: Object, environments: Object, currentMonthIndex: String, prevMonthIndex: String, diff --git a/js/lib/input_validations.js b/js/lib/input_validations.js index 1838848e..81071d2a 100644 --- a/js/lib/input_validations.js +++ b/js/lib/input_validations.js @@ -83,10 +83,10 @@ export default { unmask: [], validationError: 'Please enter a valid BA Code. Note that it should be two digits, followed by an optional letter.' }, - workspaceName: { + portfolioName: { mask: false, match: /^.{4,100}$/, unmask: [], - validationError: 'Workspace and request names must be at least 4 and not more than 100 characters' + validationError: 'Portfolio and request names must be at least 4 and not more than 100 characters' }, } diff --git a/styles/atat.scss b/styles/atat.scss index ce01d0e9..63889846 100644 --- a/styles/atat.scss +++ b/styles/atat.scss @@ -25,7 +25,7 @@ @import 'components/topbar'; @import 'components/global_layout'; @import 'components/global_navigation'; -@import 'components/workspace_layout'; +@import 'components/portfolio_layout'; @import 'components/site_action'; @import 'components/empty_state'; @import 'components/alerts'; diff --git a/styles/components/_global_navigation.scss b/styles/components/_global_navigation.scss index b975270a..bdc3f47e 100644 --- a/styles/components/_global_navigation.scss +++ b/styles/components/_global_navigation.scss @@ -18,7 +18,7 @@ } } - &.global-navigation__context--workspace { + &.global-navigation__context--portfolio { .sidenav__link { padding-right: $gap; } diff --git a/styles/components/_workspace_layout.scss b/styles/components/_portfolio_layout.scss similarity index 88% rename from styles/components/_workspace_layout.scss rename to styles/components/_portfolio_layout.scss index cf6e79bd..62938d35 100644 --- a/styles/components/_workspace_layout.scss +++ b/styles/components/_portfolio_layout.scss @@ -1,10 +1,10 @@ -.workspace-panel-container { +.portfolio-panel-container { @include media($large-screen) { @include grid-row; } } -.workspace-navigation { +.portfolio-navigation { @include panel-margin; margin-bottom: $gap * 4; diff --git a/styles/components/_topbar.scss b/styles/components/_topbar.scss index 4af39785..54424924 100644 --- a/styles/components/_topbar.scss +++ b/styles/components/_topbar.scss @@ -59,11 +59,11 @@ align-items: stretch; justify-content: flex-end; - .topbar__workspace-menu { + .topbar__portfolio-menu { margin-right: auto; position: relative; - .topbar__workspace-menu__toggle { + .topbar__portfolio-menu__toggle { margin: 0; border-radius: 0; @@ -89,12 +89,12 @@ } } - .topbar__workspace-menu__panel { + .topbar__portfolio-menu__panel { position: absolute; } } - &.topbar__context--workspace { + &.topbar__context--portfolio { background-color: $color-primary; -ms-flex-pack: start; diff --git a/styles/elements/_inputs.scss b/styles/elements/_inputs.scss index 418fde41..d8170780 100644 --- a/styles/elements/_inputs.scss +++ b/styles/elements/_inputs.scss @@ -207,7 +207,7 @@ &--validation { &--anything, - &--workspaceName, + &--portfolioName, &--requiredField, &--email { input { diff --git a/styles/sections/_reports.scss b/styles/sections/_reports.scss index ccd5a5f8..8f2d5fd5 100644 --- a/styles/sections/_reports.scss +++ b/styles/sections/_reports.scss @@ -283,7 +283,7 @@ } } - .spend-table__workspace { + .spend-table__portfolio { th, td { font-weight: bold; } diff --git a/templates/audit_log/events/environment.html b/templates/audit_log/events/environment.html index 0a6b1747..4284a968 100644 --- a/templates/audit_log/events/environment.html +++ b/templates/audit_log/events/environment.html @@ -1,5 +1,5 @@ {% extends "audit_log/events/_base.html" %} {% block content %} - in Portfolio{{ event.workspace_id }}
({{ event.workspace.name }})
+ in Portfolio {{ event.portfolio_id }}
({{ event.portfolio.name }})
{% endblock %}
diff --git a/templates/audit_log/events/environment_role.html b/templates/audit_log/events/environment_role.html
index f59b8fe0..e692b1e6 100644
--- a/templates/audit_log/events/environment_role.html
+++ b/templates/audit_log/events/environment_role.html
@@ -14,6 +14,6 @@
{{ event.event_details["application_id"] }}
({{ event.event_details["application"] }})
{{ event.event_details["workspace_id"] }}
({{ event.event_details["workspace"] }})
+ in Portfolio {{ event.event_details["portfolio_id"] }}
({{ event.event_details["portfolio"] }})
{% endif %}
{% endblock %}
diff --git a/templates/audit_log/events/invitation.html b/templates/audit_log/events/invitation.html
index 572d3195..2b0b0fd9 100644
--- a/templates/audit_log/events/invitation.html
+++ b/templates/audit_log/events/invitation.html
@@ -10,5 +10,5 @@
invited {{ event.event_details.email }} (DOD {{ event.event_details.dod_id }}
)
{{ event.workspace_id }}
({{ event.workspace.name }})
+ in Portfolio {{ event.portfolio_id }}
({{ event.portfolio.name }})
{% endblock %}
diff --git a/templates/audit_log/events/workspace.html b/templates/audit_log/events/portfolio.html
similarity index 100%
rename from templates/audit_log/events/workspace.html
rename to templates/audit_log/events/portfolio.html
diff --git a/templates/audit_log/events/workspace_role.html b/templates/audit_log/events/portfolio_role.html
similarity index 85%
rename from templates/audit_log/events/workspace_role.html
rename to templates/audit_log/events/portfolio_role.html
index 3a8df341..11bdad10 100644
--- a/templates/audit_log/events/workspace_role.html
+++ b/templates/audit_log/events/portfolio_role.html
@@ -2,7 +2,7 @@
{% block content %}
for User {{ event.event_details.updated_user_id }}
({{ event.event_details.updated_user_name }})
- in Portfolio {{ event.workspace_id }}
({{ event.workspace.name }})
+ in Portfolio {{ event.portfolio_id }}
({{ event.portfolio.name }})
{% if event.changed_state.status %}
from status "{{ event.changed_state.status[0] }}" to "{{ event.changed_state.status[1] }}"
diff --git a/templates/components/pagination.html b/templates/components/pagination.html
index d7674d66..a44dcb77 100644
--- a/templates/components/pagination.html
+++ b/templates/components/pagination.html
@@ -1,4 +1,4 @@
-{% macro Page(pagination, route, i, label=None, disabled=False, workspace_id=None) -%}
+{% macro Page(pagination, route, i, label=None, disabled=False, portfolio_id=None) -%}
{% set label = label or i %}
{% set button_class = "page usa-button " %}
@@ -11,42 +11,42 @@
{% set button_class = button_class + "usa-button-secondary" %}
{% endif %}
- {{ label }}
+ {{ label }}
{%- endmacro %}
-{% macro Pagination(pagination, route, workspace_id=None) -%}
+{% macro Pagination(pagination, route, portfolio_id=None) -%}