Skip to content

Commit

Permalink
Merge pull request #53 from UCSF-GP-Namibia/chore/move-logo-to-distro
Browse files Browse the repository at this point in the history
(chore) move logo config to distro
  • Loading branch information
Herobiam authored Aug 23, 2023
2 parents 1b8d6f2 + d9f83dc commit cadb5c9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 21 deletions.
2 changes: 2 additions & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ COPY spa-build-config.json .
ARG CACHE_BUST
RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-build-config.json --target ./spa
RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa
COPY namibia_ohri_logo_darkbg.svg ./spa/namibia_ohri_logo_darkbg.svg
COPY namibia_ohri_logo_lightbg.svg ./spa/namibia_ohri_logo_lightbg.svg
COPY ohri-config.json ./spa/ohri-config.json

FROM nginx:1.23-alpine
Expand Down
Binary file added frontend/namibia_ohri_logo_darkbg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/namibia_ohri_logo_lightbg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 31 additions & 21 deletions frontend/ohri-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,32 @@
]
},
"action-menu-non-chart-items-slot": {
"remove":[
"patient-list-action-menu"
]
"remove": ["patient-list-action-menu"]
}
},
"notesConceptUuids": ["161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "437d1e25-e7ab-481c-aabc-01f21c6cdef1"]
"notesConceptUuids": [
"161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"437d1e25-e7ab-481c-aabc-01f21c6cdef1"
],
"logo": {
"src": "namibia_ohri_logo_darkbg.png"
}
},
"@ohri/openmrs-esm-ohri-core-app": {
"extensionSlots": {
"dashboard-links-slot":{
"remove":[
"appointments-ohri-dashboard-ext",
"dispensing-ohri-dashboard-ext",
"service-queues-ohri-dashboard-ext"
"dashboard-links-slot": {
"remove": [
"appointments-ohri-dashboard-ext",
"dispensing-ohri-dashboard-ext",
"service-queues-ohri-dashboard-ext"
]
},
"ohri-dashboard-appointments-slot": {
"add": [
"clinical-appointments-dashboard"
]
"add": ["clinical-appointments-dashboard"]
},
"ohri-dashboard-dispensing-slot": {
"add": [
"dispensing-dashboard"
]
}
"add": ["dispensing-dashboard"]
}
}
},
"@openmrs/esm-patient-banner-app": {
Expand Down Expand Up @@ -120,8 +120,12 @@
],
"sections": ["demographics", "contact", "nextofkin", "relationships"],
"sectionDefinitions": [
{ "id": "nextofkin", "name": "Next of Kin", "fields":["nextOfKinName", "nextOfKinContactNo"] },
{ "id": "relationships", "name": "Create relationship" }
{
"id": "nextofkin",
"name": "Next of Kin",
"fields": ["nextOfKinName", "nextOfKinContactNo"]
},
{ "id": "relationships", "name": "Create relationship" }
]
},

Expand All @@ -133,10 +137,16 @@
"@openmrs/esm-primary-navigation-app": {
"extensionSlots": {
"app-menu-slot": {
"remove": [
"dispensing-link"
]
"remove": ["dispensing-link"]
}
},
"logo": {
"src": "namibia_ohri_logo_darkbg.png"
}
},
"@openmrs/esm-login-app": {
"logo": {
"src": "namibia_ohri_logo_lightbg.png"
}
},
"@ohri/openmrs-esm-ohri-pmtct": {
Expand Down

0 comments on commit cadb5c9

Please sign in to comment.