diff --git a/templates/portfolios/admin.html b/templates/portfolios/admin.html index 3a924cc3..3c2a9b9c 100644 --- a/templates/portfolios/admin.html +++ b/templates/portfolios/admin.html @@ -59,10 +59,6 @@
- {% if user_can(permissions.VIEW_PORTFOLIO_POC) %} - {% include "portfolios/fragments/primary_point_of_contact.html" %} - {% endif %} - {% if user_can(permissions.VIEW_PORTFOLIO_USERS) %} {% include "portfolios/fragments/portfolio_members.html" %} {% endif %} diff --git a/templates/portfolios/fragments/change_ppoc.html b/templates/portfolios/fragments/change_ppoc.html deleted file mode 100644 index 478a55d4..00000000 --- a/templates/portfolios/fragments/change_ppoc.html +++ /dev/null @@ -1,80 +0,0 @@ -{% from "components/icon.html" import Icon %} -{% from "components/text_input.html" import TextInput %} -{% from "components/multi_step_modal_form.html" import MultiStepModalForm %} -{% from "components/alert.html" import Alert %} -{% from "components/options_input.html" import OptionsInput %} - -{% set step_one %} -
-

{{ "fragments.ppoc.update_ppoc_title" | translate }}

- - {{ - Alert( - level="warning", - title=("fragments.ppoc.alert.title" | translate), - message=("fragments.ppoc.alert.message" | translate), - ) - }} - -
-
- {{ - OptionsInput( - assign_ppoc_form.role_id, - optional=False - ) - }} -
-
-
-
-
- - - {{ "common.cancel" | translate }} - -
-{% endset %} - -{% set step_two %} -
-

{{ "fragments.ppoc.update_ppoc_confirmation_title" | translate }}

- - {{ - Alert( - level="info", - title=("fragments.ppoc.confirm_alert.title" | translate), - ) - }} - -
- - - {{ "common.cancel" | translate }} - -
-{% endset %} - -
- {% set disable_ppoc_button = 1 == portfolio.members |length %} - - {{ - MultiStepModalForm( - 'change-ppoc-form', - assign_ppoc_form, - form_action=url_for("portfolios.update_ppoc", portfolio_id=portfolio.id), - steps=[step_one, step_two], - ) - }} -
diff --git a/templates/portfolios/fragments/primary_point_of_contact.html b/templates/portfolios/fragments/primary_point_of_contact.html deleted file mode 100644 index 3b1fcf2c..00000000 --- a/templates/portfolios/fragments/primary_point_of_contact.html +++ /dev/null @@ -1,25 +0,0 @@ -
-
- {% if g.matchesPath("primary-point-of-contact") %} - {% include "fragments/flash.html" %} - {% endif %} - -

{{ "fragments.ppoc.title" | translate }}

-

{{ "fragments.ppoc.subtitle" | translate }}

- -

- - {{ portfolio.owner.first_name }} - {{ portfolio.owner.last_name }} - -
- {{ portfolio.owner.email }} -
- {{ portfolio.owner.phone_number | usPhone }} -

- - {% if user_can(permissions.EDIT_PORTFOLIO_POC) %} - {% include "portfolios/fragments/change_ppoc.html" %} - {% endif %} -
-