mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 19:29:11 -04:00
23 lines
566 B
Python
23 lines
566 B
Python
from flask import (
|
|
render_template,
|
|
redirect,
|
|
session,
|
|
url_for,
|
|
request
|
|
)
|
|
|
|
from flask_login import login_required
|
|
from app.main import main
|
|
from app import inbound_number_client
|
|
from app.utils import user_has_permissions
|
|
from flask import jsonify
|
|
|
|
|
|
@main.route('/inbound-sms-admin', methods=['GET', 'POST'])
|
|
@login_required
|
|
@user_has_permissions(admin_override=True)
|
|
def inbound_sms_admin():
|
|
data = inbound_number_client.get_all_inbound_sms_number_service()
|
|
|
|
return render_template('views/inbound-sms-admin.html', inbound_num_list=data)
|