This pull request includes several updates to the project/npda/templates and project/npda/views files, focusing on improving the user interface and adding new functionalities. The most important changes include updates to the data quality report and submission history templates, as well as minor text adjustments and the addition of the humanize django app to present timestamps in human-friendly "X minutes ago".
project/npda/templates/partials/submission_history.html: Enhanced the submission history table with new styles, tooltips, and additional information for better clarity and usability. Additionally, Quality Reports button only visible if PDU is selected, to match logic for HTML Data Quality on page. [1][2][3][4][5]
Code and Functionality Improvements:
project/settings.py: Added the django.contrib.humanize app to enable human-readable date and time formats.
This pull request includes several updates to the
project/npda/templates
andproject/npda/views
files, focusing on improving the user interface and adding new functionalities. The most important changes include updates to the data quality report and submission history templates, as well as minor text adjustments and the addition of thehumanize
django app to present timestamps in human-friendly "X minutes ago".Template Updates:
project/npda/templates/partials/data_quality_report.html
: Updated the structure and styling of the data quality report table to improve readability and user experience. [1] [2] [3]project/npda/templates/partials/submission_history.html
: Enhanced the submission history table with new styles, tooltips, and additional information for better clarity and usability. Additionally, Quality Reports button only visible if PDU is selected, to match logic for HTML Data Quality on page. [1] [2] [3] [4] [5]Code and Functionality Improvements:
project/settings.py
: Added thedjango.contrib.humanize
app to enable human-readable date and time formats.project/npda/views/home.py
: Updated error and success messages for better clarity.project/npda/views/submissions.py
: Minor formatting change to improve code readability.Minor Adjustments:
project/npda/templates/nav.html
: Added a tooltip styling fix to ensure proper display.project/npda/templates/kpi_table.html
: Removed redundant tooltip styling.project/npda/templates/submissions_list.html
: Adjusted the structure and layout of the submissions list for better alignment and presentation.project/npda/templates/toasts.html
: Improved the appearance and functionality of toast messages to use error/success styling.Screenshots
Desktop display
Successful CSV upload
CSV upload with Errors
Mobile display