mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 15:08:25 -04:00
Make data consistent from dashboard -> job
- 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’
This commit is contained in:
12
app/main/views/dashboard.py
Normal file
12
app/main/views/dashboard.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
)
|
||||
Reference in New Issue
Block a user