File tree 1 file changed +7
-5
lines changed 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 41
41
</h4>
42
42
<div class="ui attached segment">
43
43
<div class="ui list flex-items-block">
44
- {{if $.EnableNotifyMail}}
45
- <div class="tw-mb-4">{{ctx.Locale.Tr "settings.email_desc"}}</div>
46
- <form action="{{AppSubUrl}}/user/settings/account/email" class="ui form " method="post">
44
+ <div class="item">
45
+ {{if $.EnableNotifyMail}}
46
+ <form class="ui form tw-w-full" action="{{AppSubUrl}}/user/settings/account/email" method="post">
47
47
{{$.CsrfTokenHtml}}
48
48
<input name="_method" type="hidden" value="NOTIFICATION">
49
49
<div class="field">
50
+ <label>{{ctx.Locale.Tr "settings.email_desc"}}</label>
50
51
<div class="ui selection dropdown">
51
52
<input name="preference" type="hidden" value="{{.EmailNotificationsPreference}}">
52
53
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
60
61
</div>
61
62
</div>
62
63
<div class="field">
63
- <button class="ui primary button">{{ctx.Locale.Tr "settings.email_notifications.submit"}}</button>
64
+ <button class="ui primary button">{{ctx.Locale.Tr "settings.email_notifications.submit"}}</button>
64
65
</div>
65
66
</form>
66
- {{end}}
67
+ {{end}}
68
+ </div>
67
69
{{if not ($.UserDisabledFeatures.Contains "manage_credentials")}}
68
70
{{range .Emails}}
69
71
<div class="item tw-flex-wrap">
You can’t perform that action at this time.
0 commit comments