diff --git a/Dockerfile b/Dockerfile index 0518d614ac..e207a68b25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ FROM eclipse-temurin:17-jre-alpine RUN apk add --no-cache bash gettext RUN mkdir -p /rems/keys +RUN mkdir -p /rems/theme/extra-translations WORKDIR /rems @@ -13,6 +14,7 @@ ENTRYPOINT ["bash","./docker-entrypoint.sh"] ADD https://github.com/CSCfi/rems/releases/download/v2.38.1/rems.jar /rems/rems.jar COPY config.edn.template /rems/config/config.edn.template COPY example-theme/extra-styles.css /rems/example-theme/extra-styles.css +COPY theme/extra-translations/en.edn /rems/theme/extra-translations/en.edn COPY docker-entrypoint.sh /rems/docker-entrypoint.sh RUN chmod 664 /opt/java/openjdk/lib/security/cacerts diff --git a/config.edn.template b/config.edn.template index 72f6c5fbcb..46af264889 100644 --- a/config.edn.template +++ b/config.edn.template @@ -26,6 +26,8 @@ :catalogue-tree-show-matching-parents true :enable-autosave true :extra-stylesheets {:root "./" :files ["/theme/styles.css"]} + :smtp {:host "${SMTP_HOST}" :user "${SMTP_USER}" :pass "${SMTP_PASSWORD}" :port 587 :ssl true} + :mail-from "${SMTP_SENDER}" ;; :theme-path "/rems/theme/theme.edn" ;; :extra-pages-path "/rems/extra-pages" } \ No newline at end of file diff --git a/resources/translations/en.edn b/resources/translations/en.edn index 24a983bd9e..198d0f9c54 100644 --- a/resources/translations/en.edn +++ b/resources/translations/en.edn @@ -583,7 +583,7 @@ ;; %4 - %:invitation-url% - invitation link :workflow-handler-invitation {:message "Dear %:recipient%,\n\n%:invited-by% has invited you to be a handler of applications of workflow %:workflow%.\n\nYou can view the workflow at %:invitation-url%" :subject "Invitation to handle applications"}} - :footer "CSC – IT Center for Science" + :footer "Australian BioCommons" :form {:accepted-licenses "Accepted terms of use" :actions "Actions" :add-comment "Add comment" diff --git a/theme/extra-translations/en.edn b/theme/extra-translations/en.edn new file mode 100644 index 0000000000..588ebcce33 --- /dev/null +++ b/theme/extra-translations/en.edn @@ -0,0 +1 @@ +{:t {:footer "Australian Cardiovascular disease Data Commons" }} \ No newline at end of file