diff options
-rw-r--r-- | juick-server/src/main/resources/juick.conf.example | 4 | ||||
-rw-r--r-- | juick-spring-www/lynks.txt | 3 | ||||
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/footer.html | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/juick-server/src/main/resources/juick.conf.example b/juick-server/src/main/resources/juick.conf.example index 7c39ef16..f89ca82b 100644 --- a/juick-server/src/main/resources/juick.conf.example +++ b/juick-server/src/main/resources/juick.conf.example @@ -40,6 +40,10 @@ template.showSponsors=false # Show Sape scripts template.showSape=true +# Show Advertisement +template.showAdv=true + + api_user=juick api_password=secret diff --git a/juick-spring-www/lynks.txt b/juick-spring-www/lynks.txt index 379722cf..4eb71709 100644 --- a/juick-spring-www/lynks.txt +++ b/juick-spring-www/lynks.txt @@ -1,3 +1,6 @@ +* Exception Handling in Spring MVC +https://spring.io/blog/2013/11/01/exception-handling-in-spring-mvc + * Tutorial: Using Thymeleaf http://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/footer.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/footer.html index 0e4e8540..154e1ccf 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/footer.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/footer.html @@ -16,7 +16,7 @@ </div> <div id="footer-left"> <a href="http://juick.com">juick.com</a> © 2008-2017 - <th:block th:if="${links != null}"/><br/><span th:text="#{label.sponsors}">Спонсоры:</span><span th:text="${links}"> </span></th:block> + <th:block th:if="${showSponsors}"/><br/><span th:text="#{label.sponsors}">Спонсоры:</span><span th:text="${links}"> </span></th:block> </div> </div> <script> |