Move files into applications/fragments

This commit is contained in:
leigh-mil 2019-10-21 13:57:58 -04:00
parent 0f0d9464d8
commit f76fd0b567
4 changed files with 11 additions and 12 deletions

View File

@ -12,9 +12,9 @@
new_member_form, new_member_form,
action) %} action) %}
<div class="subheading" id="application-members"> <h3 id="application-members">
{{ 'portfolios.applications.settings.team_members' | translate }} {{ 'portfolios.applications.settings.team_members' | translate }}
</div> </h3>
{% if g.matchesPath("application-members") %} {% if g.matchesPath("application-members") %}
{% include "fragments/flash.html" %} {% include "fragments/flash.html" %}
@ -143,7 +143,7 @@
</td> </td>
<td> <td>
{% for env in member.environment_roles %} {% for env in member.environment_roles %}
{{ env.environment_name }}{% if not env == member.environment_roles[-1]%},{% endif %} {{ env.environment_name }}<br>
{% endfor %} {% endfor %}
</td> </td>
<td> <td>

View File

@ -2,7 +2,7 @@
{% extends "applications/base.html" %} {% extends "applications/base.html" %}
{% from "fragments/members.html" import MemberManagementTemplate with context %} {% from "applications/fragments/members.html" import MemberManagementTemplate with context %}
{% set secondary_breadcrumb = 'portfolios.applications.new_application_title' | translate %} {% set secondary_breadcrumb = 'portfolios.applications.new_application_title' | translate %}
{% block portfolio_header %} {% block portfolio_header %}
@ -16,16 +16,16 @@
{{ ('portfolios.applications.new.step_3_description' | translate) }} {{ ('portfolios.applications.new.step_3_description' | translate) }}
</p> </p>
<hr class="panel__break"> <hr class="panel__break">
{{ MemberManagementTemplate( {{ MemberManagementTemplate(
application, application,
members, members,
new_member_form, new_member_form,
"applications.update_new_application_step_3") }} "applications.update_new_application_step_3") }}
<span class="action-group-footer"> <span class="action-group-footer">
<a class="usa-button" href="{{ url_for('applications.settings', application_id=application_id) }}"> <a class="usa-button" href="{{ url_for('applications.settings', application_id=application_id) }}">
Return to Application Settings Return to Application Settings
</a> </a>
<a class="usa-button usa-button-secondary" href="{{ url_for('applications.view_new_application_step_2', application_id=application.id) }}"> <a class="usa-button usa-button-secondary" href="{{ url_for('applications.view_new_application_step_2', application_id=application.id) }}">
@ -35,6 +35,5 @@
Cancel Cancel
</a> </a>
</span> </span>
{% endblock %}
{% endblock %}

View File

@ -2,8 +2,8 @@
{% from "components/alert.html" import Alert %} {% from "components/alert.html" import Alert %}
{% from "components/delete_confirmation.html" import DeleteConfirmation %} {% from "components/delete_confirmation.html" import DeleteConfirmation %}
{% from "fragments/environments.html" import EnvironmentManagementTemplate %} {% from "applications/fragments/environments.html" import EnvironmentManagementTemplate with context %}
{% from "fragments/members.html" import MemberManagementTemplate with context %} {% from "applications/fragments/members.html" import MemberManagementTemplate with context %}
{% from "components/modal.html" import Modal %} {% from "components/modal.html" import Modal %}
{% from "components/pagination.html" import Pagination %} {% from "components/pagination.html" import Pagination %}
{% from "components/save_button.html" import SaveButton %} {% from "components/save_button.html" import SaveButton %}