Skip to content

Commit

Permalink
Merge pull request #298 from helxplatform/ordrd
Browse files Browse the repository at this point in the history
fix: Add ordrd stuffs
  • Loading branch information
waTeim authored Sep 1, 2023
2 parents 9a5242f + fa338c7 commit de8df44
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
12 changes: 12 additions & 0 deletions appstore/appstore/settings/ordrd_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from .base import * # noqa: F401,F403
from product.configuration import ProductSettings, ProductColorScheme

APPLICATION_BRAND = "ordrd"

PRODUCT_SETTINGS = ProductSettings(
brand="ordrd",
title="Ordr D",
logo_url="/static/images/tracs/logo.png",
color_scheme=ProductColorScheme("#191348", "#0079bc"),
links=None,
)
6 changes: 2 additions & 4 deletions appstore/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,12 @@ def get_brand_details(brand):
"braini": {"name": "BRAIN-I", "logo": "logo.png"},
"scidas": {"name": "SciDAS", "logo": "logo.png"},
"bdc": {"name": "BioData Catalyst", "logo": "logo.svg"},
"restartr": {
"name": "UNC Restarting Research",
"logo": "logo.png",
},
"restartr": { "name": "UNC Restarting Research", "logo": "logo.png", },
"heal": {"name": "NIH Heal Initiative", "logo": "logo.png"},
"argus": {"name": "Argus Array", "logo": "logo.png"},
"eduhelx": {"name": "EduHelx", "logo": "logo.png"},
"testing": {"name": "Testing", "logo": "logo.png"},
"ordrd": {"name": "Ordr D", "logo": "logo.png"},
}[brand]


Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Django==3.2
django-allauth
django-allauth==0.54.0
django-cors-headers==3.7.0
django-crispy-forms==1.11.2
django-debug-toolbar==3.2
Expand Down

0 comments on commit de8df44

Please sign in to comment.