Browse Source

Update development environment texts

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.3-alpha
Pekka Helenius 4 years ago
parent
commit
e475e37cbf
2 changed files with 5 additions and 4 deletions
  1. +4
    -3
      bookstore/src/main/resources/templates/fragments/footerpart.html
  2. +1
    -1
      bookstore/src/main/resources/templates/fragments/loginout.html

+ 4
- 3
bookstore/src/main/resources/templates/fragments/footerpart.html View File

@ -11,9 +11,10 @@ target domain environment. Once fully implemented, footer relative URLs should w
<div style="margin-top: 400px;"> <div style="margin-top: 400px;">
<p th:if="${@environment.getActiveProfiles()[0] == 'dev'}">
Dev note: This footer is fetched from an external URL and presented only for demonstration purposes.
</p>
<div th:if="${@environment.getActiveProfiles()[0] == 'dev'}">
<p>Dev note: This footer is fetched from an external URL and presented only for demonstration purposes.</p>
<p>Be aware: External URLs presented in the footer may be broken/relative to the original domain.</p>
</div>
<footer th:replace="${@ExternalUrl.getUrl('https://fjordtek.com/')} ? ~{https://fjordtek.com/ :: footer} : _"></footer> <footer th:replace="${@ExternalUrl.getUrl('https://fjordtek.com/')} ? ~{https://fjordtek.com/ :: footer} : _"></footer>
<!--/* [//div[@id='footer']]" */--> <!--/* [//div[@id='footer']]" */-->


+ 1
- 1
bookstore/src/main/resources/templates/fragments/loginout.html View File

@ -99,7 +99,7 @@ h2consolepage = ${@environment.getProperty('spring.h2.console.path')}
** END: login elements ** ** END: login elements **
*/--> */-->
<div th:if="${@environment.getActiveProfiles()[0] == 'dev'}" style="margin: 10px 0;"> <div th:if="${@environment.getActiveProfiles()[0] == 'dev'}" style="margin: 10px 0;">
<a th:href="@{__${h2consolepage}__}">H2 database console (dev phase only)</a>
<a th:href="@{__${h2consolepage}__}">H2 database console access</a>
</div> </div>
</div> </div>
</th:block> </th:block>


Loading…
Cancel
Save