From 7d0e89eb188319334ac5bb6ee12421a7810f5a3c Mon Sep 17 00:00:00 2001 From: David Taylor Date: Sat, 23 May 2015 03:20:27 +0100 Subject: [PATCH] More UI improvements --- PyRIGS/settings.py | 1 + RIGS/templates/RIGS/activity_stream.html | 28 ++++++++++++++------- RIGS/templates/RIGS/event_button.html | 18 +++++++++++++ RIGS/templates/RIGS/event_version_list.html | 10 +++++--- RIGS/templates/RIGS/profile_button.html | 12 +++++++++ RIGS/versioning.py | 1 + 6 files changed, 58 insertions(+), 12 deletions(-) create mode 100644 RIGS/templates/RIGS/event_button.html create mode 100644 RIGS/templates/RIGS/profile_button.html diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index 9c05d476..d2f19d15 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -185,6 +185,7 @@ USE_TZ = True DATETIME_INPUT_FORMATS = ('%Y-%m-%dT%H:%M','%Y-%m-%dT%H:%M:%S') RIGS_DATETIME_FORMAT = ('d/m/Y H:i') +RIGS_DATE_FORMAT = ('d/m/Y') TEMPLATE_CONTEXT_PROCESSORS = ( "django.contrib.auth.context_processors.auth", diff --git a/RIGS/templates/RIGS/activity_stream.html b/RIGS/templates/RIGS/activity_stream.html index 81ad46bb..6c0fabc4 100644 --- a/RIGS/templates/RIGS/activity_stream.html +++ b/RIGS/templates/RIGS/activity_stream.html @@ -9,7 +9,11 @@