mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Add mocked service ID to all service-specific pages
This commit is contained in:
@@ -6,12 +6,13 @@ from app.main import main
|
||||
from ._jobs import jobs
|
||||
|
||||
|
||||
@main.route("/dashboard")
|
||||
@main.route("/<int:service_id>/dashboard")
|
||||
@login_required
|
||||
def dashboard():
|
||||
def dashboard(service_id):
|
||||
return render_template(
|
||||
'views/dashboard.html',
|
||||
jobs=jobs,
|
||||
free_text_messages_remaining=560,
|
||||
spent_this_month='0.00'
|
||||
spent_this_month='0.00',
|
||||
service_id=service_id
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user