diff --git a/atst/utils/context_processors.py b/atst/utils/context_processors.py index 243de728..f3794899 100644 --- a/atst/utils/context_processors.py +++ b/atst/utils/context_processors.py @@ -5,6 +5,7 @@ from sqlalchemy.orm.exc import NoResultFound from atst.database import db from atst.domain.authz import Authorization +from atst.domain.exceptions import NotFoundError from atst.domain.portfolios.scopes import ScopedPortfolio from atst.models import ( Application, diff --git a/templates/fragments/applications/edit_team.html b/templates/fragments/applications/edit_team.html index d5d9f300..9f38e9c5 100644 --- a/templates/fragments/applications/edit_team.html +++ b/templates/fragments/applications/edit_team.html @@ -1,4 +1,5 @@ {% from "components/options_input.html" import OptionsInput %} +{% from "components/toggle_list.html" import ToggleButton, ToggleSection %} {{ team_form.csrf_token }} diff --git a/templates/portfolios/applications/team.html b/templates/portfolios/applications/team.html index c7270c05..686a70de 100644 --- a/templates/portfolios/applications/team.html +++ b/templates/portfolios/applications/team.html @@ -1,10 +1,8 @@ {% extends "portfolios/applications/base.html" %} -{% from "components/empty_state.html" import EmptyState %} {% from "components/icon.html" import Icon %} -{% from 'components/save_button.html' import SaveButton %} -{% from "components/toggle_list.html" import ToggleButton, ToggleSection %} {% from "components/multi_step_modal_form.html" import MultiStepModalForm %} +{% from 'components/save_button.html' import SaveButton %} {% import "fragments/applications/new_member_modal_content.html" as member_steps %} {% set secondary_breadcrumb = 'portfolios.applications.team_settings.title' | translate({ "application_name": application.name }) %}