From 7303827c3a9b80e57015dcc90302009028a11fea Mon Sep 17 00:00:00 2001 From: Cameron Hyde Date: Tue, 21 May 2024 15:06:26 +1000 Subject: [PATCH 1/2] Disable "browser" buttons when no link --- .../templates/genomes/snippets/genome-cards.html | 16 +++++++++------- .../templates/genomes/snippets/tracks-table.html | 16 ++++++++-------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/app/genomes/templates/genomes/snippets/genome-cards.html b/app/genomes/templates/genomes/snippets/genome-cards.html index 7113f85..bd7af1e 100644 --- a/app/genomes/templates/genomes/snippets/genome-cards.html +++ b/app/genomes/templates/genomes/snippets/genome-cards.html @@ -433,24 +433,26 @@

{{ genomeDetails.name }}

diff --git a/app/genomes/templates/genomes/snippets/tracks-table.html b/app/genomes/templates/genomes/snippets/tracks-table.html index b78881b..f54e829 100644 --- a/app/genomes/templates/genomes/snippets/tracks-table.html +++ b/app/genomes/templates/genomes/snippets/tracks-table.html @@ -118,16 +118,16 @@ - + Browser + No browser From 0fd31732255f9347700579201e8a11162a8a4588 Mon Sep 17 00:00:00 2001 From: Cameron Hyde Date: Tue, 21 May 2024 15:07:14 +1000 Subject: [PATCH 2/2] Set Django TZ to au/brisbane --- app/apollo_portal/settings/prod.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/apollo_portal/settings/prod.py b/app/apollo_portal/settings/prod.py index 0843daa..cf5a716 100644 --- a/app/apollo_portal/settings/prod.py +++ b/app/apollo_portal/settings/prod.py @@ -18,6 +18,8 @@ for hostname in PRODUCTION_HOSTNAMES ] +TIME_ZONE = 'Australia/Brisbane' + # Use manifest to manage static file versions for cache busting: STATICFILES_STORAGE = ('django.contrib.staticfiles.storage' '.ManifestStaticFilesStorage')