Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
3243: Configurable header - use moment js from messages module (#2)
Browse files Browse the repository at this point in the history
- the former solution would override momentjs included in messages
  • Loading branch information
pwargulak authored Mar 28, 2024
1 parent e4dcd1e commit c1f9c53
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions omod/src/main/webapp/fragments/patientHeader.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@
ui.includeCss("cflcore", "patientHeader.css")
ui.includeJavascript("cflcore", "cflDeletePatient.js")
ui.includeJavascript("messages", "changeStatus.js")
ui.includeJavascript("messages", "moment-with-locales.min.js")
%>

<head>
<script src="https://momentjs.com/downloads/moment.js"></script>
</head>

<div class="header-container">
<div class="title-container">
<span class="title-field">
Expand Down Expand Up @@ -88,4 +85,4 @@
</div>
</div>

<div>${ ui.includeFragment("messages", "patientdashboard/changeStatus") }</div>
<div>${ ui.includeFragment("messages", "patientdashboard/changeStatus") }</div>

0 comments on commit c1f9c53

Please sign in to comment.