Skip to content

Commit f7f926a

Browse files
author
Dmytro Trotsko
committed
Made delphi logo clickable (to main website). Changed error message
1 parent 9357202 commit f7f926a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/assets/js/selectedIndicatorsModal.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ function showNotCoveredGeoWarningMessage(notCoveredIndicators, geoValue) {
147147
var warningMessage = "";
148148
notCoveredIndicators.forEach((indicator) => {
149149
if (currentMode === "epivis") {
150-
warningMessage += `Indicator ${indicator.display_name} is not available for Location ${geoValue.text} <br>`;
150+
warningMessage += `Indicator "${indicator.display_name}" is not available for Location "${geoValue.text}" <br>`;
151151
} else {
152152
var startDate = document.getElementById("start_date").value;
153153
var endDate = document.getElementById("end_date").value;
154-
warningMessage += `Indicator ${indicator.display_name} is not available for Location ${geoValue.text} for the time period from ${startDate} to ${endDate} <br>`;
154+
warningMessage += `Indicator "${indicator.display_name}" is not available for Location "${geoValue.text}" for the time period from "${startDate}" to "${endDate}" <br>`;
155155
}
156156
});
157157
appendAlert(warningMessage, "warning");

src/templates/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@
6868
<div class="flex-grow-1 d-flex flex-column h-100" style="overflow: hidden; background-color: #f6f9ff;">
6969
<!-- Top Header for Title -->
7070
<div class="bg-white border-bottom px-4 py-3 d-flex align-items-center shadow-sm" style="flex-shrink: 0; min-height: 74px;">
71-
<img src="{% static 'img/CMU-wordmark.svg' %}" alt="Carnegie Mellon University" height="40" class="me-3">
71+
<a href="https://www.cmu.edu/" target="_blank">
72+
<img src="{% static 'img/CMU-wordmark.svg' %}" alt="Carnegie Mellon University" height="70" width="200" class="me-3">
73+
</a>
7274
<span style="font-size: 1.25rem; font-weight: 600; color: #012970;">Delphi EpiPortal : One Stop Shop for Real Time Infectious Disease Indicators</span>
7375
</div>
7476

0 commit comments

Comments
 (0)