Move ccpo routes into their own file
This commit is contained in:
@@ -4,6 +4,6 @@
|
||||
{% block content %}
|
||||
<div v-cloak>
|
||||
{% include "fragments/audit_events_log.html" %}
|
||||
{{ Pagination(audit_events, url_for('atst.activity_history'))}}
|
||||
{{ Pagination(audit_events, url_for('ccpo.activity_history'))}}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{% from "components/text_input.html" import TextInput %}
|
||||
|
||||
{% block content %}
|
||||
<form id="add-ccpo-user-form" action="{{ url_for('atst.submit_add_new_ccpo_user') }}" method="POST">
|
||||
<form id="add-ccpo-user-form" action="{{ url_for('ccpo.submit_add_new_ccpo_user') }}" method="POST">
|
||||
{{ form.csrf_token }}
|
||||
<h1>Add new CCPO user</h1>
|
||||
<div class='form-row'>
|
||||
@@ -17,7 +17,7 @@
|
||||
v-bind:disabled="invalid"
|
||||
class='action-group__action usa-button'
|
||||
value='Next'>
|
||||
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('atst.ccpo_users') }}">{{ "common.cancel" | translate }}</a>
|
||||
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('ccpo.ccpo_users') }}">{{ "common.cancel" | translate }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
{% block content %}
|
||||
{% if new_user %}
|
||||
{% call Alert('Confirm new CCPO user') %}
|
||||
<form id="add-ccpo-user-form" action="{{ url_for('atst.confirm_new_ccpo_user') }}" method="POST">
|
||||
<form id="add-ccpo-user-form" action="{{ url_for('ccpo.confirm_new_ccpo_user') }}" method="POST">
|
||||
{{ form.csrf_token }}
|
||||
<input type="hidden" name="dod_id" value="{{ form.dod_id.data }}">
|
||||
<div>
|
||||
@@ -26,7 +26,7 @@
|
||||
v-bind:disabled="invalid"
|
||||
class='action-group__action usa-button'
|
||||
value='Confirm and Add User'>
|
||||
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('atst.ccpo_users') }}">{{ "common.cancel" | translate }}</a>
|
||||
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('ccpo.ccpo_users') }}">{{ "common.cancel" | translate }}</a>
|
||||
</div>
|
||||
</form>
|
||||
{% endcall %}
|
||||
@@ -34,7 +34,7 @@
|
||||
{% call Alert('User not found') %}
|
||||
To add someone as a CCPO user, they must already have an ATAT account.
|
||||
<div class='action-group'>
|
||||
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('atst.ccpo_users') }}">
|
||||
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('ccpo.ccpo_users') }}">
|
||||
Return to list of CCPO users
|
||||
</a>
|
||||
</div>
|
||||
|
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
|
||||
{% if user_can(permissions.CREATE_CCPO_USER) %}
|
||||
<a class="icon-link modal-link" href="{{ url_for('atst.add_new_ccpo_user')}}">
|
||||
<a class="icon-link modal-link" href="{{ url_for('ccpo.add_new_ccpo_user')}}">
|
||||
Add new CCPO user {{ Icon("plus") }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user