Skip to content

Commit 9f4623c

Browse files
committed
fix "if" check
1 parent a884fde commit 9f4623c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/user/settings/account.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
</h4>
4242
<div class="ui attached segment">
4343
<div class="ui list flex-items-block">
44+
{{if $.EnableNotifyMail}}
4445
<div class="item">
45-
{{if $.EnableNotifyMail}}
4646
<form class="ui form tw-w-full" action="{{AppSubUrl}}/user/settings/account/email" method="post">
4747
{{$.CsrfTokenHtml}}
4848
<input name="_method" type="hidden" value="NOTIFICATION">
@@ -64,8 +64,8 @@
6464
<button class="ui primary button">{{ctx.Locale.Tr "settings.email_notifications.submit"}}</button>
6565
</div>
6666
</form>
67-
{{end}}
6867
</div>
68+
{{end}}
6969
{{if not ($.UserDisabledFeatures.Contains "manage_credentials")}}
7070
{{range .Emails}}
7171
<div class="item tw-flex-wrap">

0 commit comments

Comments
 (0)