Fix indentation in subscribers.tmpl

pull/775/head
Matt Baer 1 year ago
parent c75507ca8f
commit b232e7efd7
  1. 14
      templates/user/subscribers.tmpl

@ -13,21 +13,23 @@
{{template "user-silenced"}} {{template "user-silenced"}}
{{end}} {{end}}
{{if .Collection.Collection}}{{template "collection-breadcrumbs" .}}{{end}} {{if .Collection.Collection}}{{template "collection-breadcrumbs" .}}{{end}}
<h1>Subscribers</h1> <h1>Subscribers</h1>
{{if .Collection.Collection}} {{if .Collection.Collection}}
{{template "collection-nav" .Collection}} {{template "collection-nav" .Collection}}
<nav class="pager sub"> <nav class="pager sub">
<a href="/me/c/{{.Collection.Alias}}/subscribers" {{if eq .Filter ""}}class="selected"{{end}}>Email ({{len .EmailSubs}})</a> <a href="/me/c/{{.Collection.Alias}}/subscribers" {{if eq .Filter ""}}class="selected"{{end}}>Email ({{len .EmailSubs}})</a>
<a href="/me/c/{{.Collection.Alias}}/subscribers?filter=fediverse" {{if eq .Filter "fediverse"}}class="selected"{{end}}>Followers ({{len .Followers}})</a> <a href="/me/c/{{.Collection.Alias}}/subscribers?filter=fediverse" {{if eq .Filter "fediverse"}}class="selected"{{end}}>Followers ({{len .Followers}})</a>
</nav> </nav>
{{end}} {{end}}
{{if .Flashes}}<ul class="errors"> {{if .Flashes -}}
<ul class="errors">
{{range .Flashes}}<li class="urgent">{{.}}</li>{{end}} {{range .Flashes}}<li class="urgent">{{.}}</li>{{end}}
</ul>{{end}} </ul>
{{- end}}
{{ if eq .Filter "fediverse" }} {{ if eq .Filter "fediverse" }}
<table class="classy export"> <table class="classy export">

Loading…
Cancel
Save