From 13053762b6e950542289eb95c03bd86377401e8c Mon Sep 17 00:00:00 2001 From: Quan Pham Date: Wed, 29 May 2024 15:34:42 -0400 Subject: [PATCH] Allow allocated project name to be displayed in Coldfront UI in the detailed Project view --- src/local_settings.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/local_settings.py b/src/local_settings.py index 6d8e2c7..39a20d8 100644 --- a/src/local_settings.py +++ b/src/local_settings.py @@ -4,6 +4,7 @@ from django.core.exceptions import ImproperlyConfigured from coldfront.config.settings import * from coldfront.config.env import ENV +from coldfront.config.core import ALLOCATION_ATTRIBUTE_VIEW_LIST NERC_STD_PLUGIN_CONFIGS = [ @@ -71,3 +72,8 @@ 'port': 6379, 'db': 0, } } + +if 'Allocated Project Name' not in ALLOCATION_ATTRIBUTE_VIEW_LIST: + ALLOCATION_ATTRIBUTE_VIEW_LIST += [ + 'Allocated Project Name' + ]