From 77139a88218c52eaf797f4c964d8ff8b27618b59 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 cb1d9125..114fb7b2 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 @@