From a3e5199557a8234132e9332a4e4ffb38f119d0b8 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Thu, 29 Jan 2009 23:05:40 +0000 Subject: [PATCH] add commas to numbers on the library summary statistics page --- gaworkflow/frontend/settings.py | 3 ++- templates/summary_stats.html | 30 ++++++++++++++++-------------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/gaworkflow/frontend/settings.py b/gaworkflow/frontend/settings.py index 9980c80..05d9be5 100644 --- a/gaworkflow/frontend/settings.py +++ b/gaworkflow/frontend/settings.py @@ -79,6 +79,7 @@ INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', + 'django.contrib.humanize', 'django.contrib.sessions', 'django.contrib.sites', 'gaworkflow.frontend.eland_config', @@ -92,4 +93,4 @@ UPLOADTO_CONFIG_FILE = os.path.join(UPLOADTO_HOME, 'eland_config') UPLOADTO_ELAND_RESULT_PACKS = os.path.join(UPLOADTO_HOME, 'eland_results') UPLOADTO_BED_PACKS = os.path.join(UPLOADTO_HOME, 'bed_packs') -RESULT_HOME_DIR = os.path.abspath('../../results') +RESULT_HOME_DIR = os.path.abspath('/woldlab/loxcyc/data00/solexa-sequence/flowcells') diff --git a/templates/summary_stats.html b/templates/summary_stats.html index 2890155..3533477 100644 --- a/templates/summary_stats.html +++ b/templates/summary_stats.html @@ -1,3 +1,5 @@ +{% load humanize %} +