Skip to content

Commit

Permalink
[CCAP-289] Putting version and commit sha into header
Browse files Browse the repository at this point in the history
  • Loading branch information
cram-cfa committed Dec 13, 2024
1 parent 8fff9e8 commit 4a56109
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ org:
dashboard:
enabled: ${JOBRUNR_DASHBOARD_ENABLED:false}
il-gcc:
version: ${APTIBLE_GIT_REF:no-version-set}
latest-commit: ${APTIBLE_GIT_COMMIT_SHA:false}
generate-short-links: ${GENERATE_SHORT_LINKS_FLAG:false}
show-no-provider-flow: ${SHOW_NO_PROVIDER_FLOW:true}
allow-provider-registration-flow: ${ALLOW_PROVIDER_REGISTRATION_FLOW:false}
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/templates/fragments/head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<head th:fragment="head" th:assert="${!#strings.isEmpty(title)}">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="version" th:content="${@environment.getProperty('il-gcc.version')}">
<th:block th:if="${@environment.getProperty('il-gcc.latest-commit')}">
<meta name="latest" th:content="${@environment.getProperty('il-gcc.latest-commit')}">
</th:block>
<title th:text="${errorMessages == null ? title : #messages.msg('errors.general-title')}"></title>
<script src="/webjars/form-flow/0.0.1/js/honeycrisp.min.js"></script>
<script>
Expand Down

0 comments on commit 4a56109

Please sign in to comment.