mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
- adds a table of recent activity to the job page, which is shared by the dashboard page - uses the same filename and message template as the first job shown on the dashboard - sets the time of file uploads/message delivery/message sending to always match ‘just now’
13 lines
207 B
Python
13 lines
207 B
Python
from flask import render_template
|
|
|
|
from app.main import main
|
|
|
|
from ._jobs import jobs
|
|
|
|
|
|
@main.route("/dashboard")
|
|
def dashboard():
|
|
return render_template(
|
|
'views/dashboard.html', jobs=jobs
|
|
)
|