fix(ui): persist SMTP restriction in shared shell
This commit is contained in:
@@ -52,6 +52,11 @@
|
||||
<div class="page-heading-copy"><h1 class="page-title" th:text="${pageTitle}">Page</h1></div>
|
||||
<div class="primary-action" th:if="${primaryAction != null}" th:replace="${primaryAction}"></div>
|
||||
</div>
|
||||
<div class="alert alert-warning" role="alert" sec:authorize="hasRole('ADMIN')"
|
||||
th:if="${smtpRestricted}">
|
||||
<strong>This installation remains restricted until tested SMTP is active.</strong>
|
||||
<a class="alert-action" th:href="@{/admin/smtp}">Configure SMTP</a>
|
||||
</div>
|
||||
<th:block th:replace="${content}"></th:block>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user