mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-30 11:00:14 -04:00
The uploads hub is just a page with text for now - there are no actions available on the page. It is linked to from a new 'Uploads' menu item on the left of the page which is only visible if your service has the `letter` and `upload_letters` permissions and if the current user has permissions to send messages.
11 lines
271 B
Python
11 lines
271 B
Python
from flask import render_template
|
|
|
|
from app.main import main
|
|
from app.utils import user_has_permissions
|
|
|
|
|
|
@main.route("/services/<service_id>/uploads")
|
|
@user_has_permissions('send_messages')
|
|
def uploads(service_id):
|
|
return render_template('views/uploads/index.html')
|