Skip to content

Commit

Permalink
Merge pull request #119 from QuanMPhm/118/display_project_name
Browse files Browse the repository at this point in the history
Allow allocated project name to be displayed in Coldfront UI on detailed Project view
  • Loading branch information
jtriley authored May 29, 2024
2 parents 1961334 + 1305376 commit afa81ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/local_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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'
]

0 comments on commit afa81ba

Please sign in to comment.