rearrange templates to follow new dir structure
This commit is contained in:
parent
94ccda9d84
commit
d4b5e484ee
@ -111,7 +111,7 @@ def view_new_application_step_2(portfolio_id, application_id):
|
|||||||
"application": application,
|
"application": application,
|
||||||
}
|
}
|
||||||
|
|
||||||
return render_template("portfolios/applications/new/step_2.html", **render_args)
|
return render_template("applications/new/step_2.html", **render_args)
|
||||||
|
|
||||||
|
|
||||||
@applications_bp.route(
|
@applications_bp.route(
|
||||||
@ -153,7 +153,7 @@ def view_new_application_step_3(application_id):
|
|||||||
new_member_form = get_new_member_form(application)
|
new_member_form = get_new_member_form(application)
|
||||||
|
|
||||||
return render_template(
|
return render_template(
|
||||||
"portfolios/applications/new/step_3.html",
|
"applications/new/step_3.html",
|
||||||
application_id=application_id,
|
application_id=application_id,
|
||||||
application=application,
|
application=application,
|
||||||
members=members,
|
members=members,
|
||||||
@ -165,7 +165,7 @@ def view_new_application_step_3(application_id):
|
|||||||
@user_can(Permissions.CREATE_APPLICATION, message="view create new application form")
|
@user_can(Permissions.CREATE_APPLICATION, message="view create new application form")
|
||||||
def update_new_application_step_3(application_id):
|
def update_new_application_step_3(application_id):
|
||||||
|
|
||||||
handle_create_member(application_id, http_request)
|
handle_create_member(application_id, http_request.form)
|
||||||
|
|
||||||
return redirect(
|
return redirect(
|
||||||
url_for(
|
url_for(
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
{% extends "portfolios/applications/base.html" %}
|
{% extends "applications/base.html" %}
|
||||||
|
|
||||||
{% from "portfolios/applications/fragments/members.html" import MemberManagementTemplate %}
|
{% from "fragments/members.html" import MemberManagementTemplate %}
|
||||||
{% set secondary_breadcrumb = 'portfolios.applications.new_application_title' | translate %}
|
{% set secondary_breadcrumb = 'portfolios.applications.new_application_title' | translate %}
|
||||||
|
|
||||||
{% block portfolio_header %}
|
{% block portfolio_header %}
|
@ -5,7 +5,7 @@
|
|||||||
{% from "components/icon.html" import Icon %}
|
{% from "components/icon.html" import Icon %}
|
||||||
{% import "applications/fragments/new_member_modal_content.html" as member_steps %}
|
{% import "applications/fragments/new_member_modal_content.html" as member_steps %}
|
||||||
{% from "applications/fragments/member_perms_form_fields.html" import MemberPermsFields %}
|
{% from "applications/fragments/member_perms_form_fields.html" import MemberPermsFields %}
|
||||||
{% from "portfolios/applications/fragments/members.html" import MemberManagementTemplate %}
|
{% from "fragments/members.html" import MemberManagementTemplate %}
|
||||||
{% from "components/modal.html" import Modal %}
|
{% from "components/modal.html" import Modal %}
|
||||||
{% from "components/multi_step_modal_form.html" import MultiStepModalForm %}
|
{% from "components/multi_step_modal_form.html" import MultiStepModalForm %}
|
||||||
{% from "components/pagination.html" import Pagination %}
|
{% from "components/pagination.html" import Pagination %}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{% from "components/alert.html" import Alert %}
|
{% from "components/alert.html" import Alert %}
|
||||||
{% from "components/icon.html" import Icon %}
|
{% from "components/icon.html" import Icon %}
|
||||||
{% import "fragments/applications/new_member_modal_content.html" as member_steps %}
|
{% import "applications/fragments/new_member_modal_content.html" as member_steps %}
|
||||||
{% from "fragments/applications/member_perms_form_fields.html" import MemberPermsFields %}
|
{% from "applications/fragments/member_perms_form_fields.html" import MemberPermsFields %}
|
||||||
{% from "components/modal.html" import Modal %}
|
{% from "components/modal.html" import Modal %}
|
||||||
{% from "components/multi_step_modal_form.html" import MultiStepModalForm %}
|
{% from "components/multi_step_modal_form.html" import MultiStepModalForm %}
|
||||||
{% from "components/save_button.html" import SaveButton %}
|
{% from "components/save_button.html" import SaveButton %}
|
||||||
@ -126,7 +126,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if user_can_create_app_member %}
|
{% if user_can_create_app_member %}
|
||||||
{% import "fragments/applications/new_member_modal_content.html" as member_steps %}
|
{% import "applications/fragments/new_member_modal_content.html" as member_steps %}
|
||||||
{{ MultiStepModalForm(
|
{{ MultiStepModalForm(
|
||||||
name=new_member_modal_name,
|
name=new_member_modal_name,
|
||||||
form=new_member_form,
|
form=new_member_form,
|
Loading…
x
Reference in New Issue
Block a user