Skip to content

Commit

Permalink
Fix public preference manage page's list style.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Feb 26, 2023
1 parent 7be73d5 commit 215aae5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion static/public/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ input[disabled] {
.lists {
list-style-type: none;
padding: 0;
margin: 40px 0;
}
.lists li {
margin: 0 0 5px 0;
Expand Down
3 changes: 2 additions & 1 deletion static/public/templates/subscription.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ <h2>{{ L.T "public.managePrefs" }}</h2>
<input type="text" name="name" value="{{ .Data.Subscriber.Name }}" maxlength="256" required />

{{ if .Data.Subscriptions }}
<p><label>{{ L.T "public.managePrefsUnsub" }}</label></p>
<br /><br />
<h3>{{ L.T "public.managePrefsUnsub" }}</h3>
<ul class="lists">
{{ range $i, $l := .Data.Subscriptions }}
{{ if ne $l.SubscriptionStatus.Value "unsubscribed" }}
Expand Down

0 comments on commit 215aae5

Please sign in to comment.