diff --git a/atst/routes/portfolios/index.py b/atst/routes/portfolios/index.py index 8bf9aff6..a85fa3ef 100644 --- a/atst/routes/portfolios/index.py +++ b/atst/routes/portfolios/index.py @@ -34,6 +34,7 @@ def portfolio_admin(portfolio_id): "portfolios/admin.html", form=form, portfolio=portfolio, + current_user=g.current_user, audit_events=audit_events, ) diff --git a/templates/fragments/primary_point_of_contact.html b/templates/fragments/primary_point_of_contact.html index 6ff9b795..eaba275a 100644 --- a/templates/fragments/primary_point_of_contact.html +++ b/templates/fragments/primary_point_of_contact.html @@ -1,7 +1,7 @@
The PoC has the ability to edit all aspects of a portfolio.
+{{ "fragments.ppoc.subtitle" | translate }}
@@ -14,10 +14,12 @@ {{ portfolio.owner.phone_number | usPhone }}
- + {% if portfolio.owner == current_user %} + + {% endif %}