From 381cad51e50dc5d1e7b3047021de16f9c85c67d4 Mon Sep 17 00:00:00 2001 From: Daniele Sluijters Date: Thu, 29 May 2014 11:36:11 +0200 Subject: [PATCH] Allow disabling timestamp localisation. Fixes #63. --- puppetboard/default_settings.py | 1 + puppetboard/templates/layout.html | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/puppetboard/default_settings.py b/puppetboard/default_settings.py index 12f9e20..a48bfc7 100644 --- a/puppetboard/default_settings.py +++ b/puppetboard/default_settings.py @@ -8,4 +8,5 @@ DEV_LISTEN_HOST = '127.0.0.1' DEV_LISTEN_PORT = 5000 UNRESPONSIVE_HOURS = 2 ENABLE_QUERY = True +LOCALISE_TIMESTAMP = True LOGLEVEL = 'info' diff --git a/puppetboard/templates/layout.html b/puppetboard/templates/layout.html index b7697d4..37d0a04 100644 --- a/puppetboard/templates/layout.html +++ b/puppetboard/templates/layout.html @@ -42,9 +42,11 @@ - + {% if config.LOCALISE_TIMESTAMP %} + + + {% endif %} -