Logo
Explore Help
Sign In
darkhelm/notifications-admin
1
0
Fork 0
You've already forked notifications-admin
mirror of https://github.com/GSA/notifications-admin.git synced 2026-09-09 06:13:11 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
3cbaa00930512561d05d5eb9d1d971741ac20466
notifications-admin/app/main/views/dashboard.py

16 lines
290 B
Python
Raw Normal View History

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’
2015-12-18 10:26:56 +00:00
from flask import render_template
from app.main import main
from ._jobs import jobs
@main.route("/dashboard")
def dashboard():
return render_template(
Add big numbers to dashboard A suggestion of what high-level information users might need on the dashboard page.
2015-12-18 16:36:24 +00:00
'views/dashboard.html',
jobs=jobs,
free_text_messages_remaining=560,
spent_this_month='0.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’
2015-12-18 10:26:56 +00:00
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 538ms Template: 80ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API