|
|
@ -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 -}} |
|
|
|
{{range .Flashes}}<li class="urgent">{{.}}</li>{{end}} |
|
|
|
<ul class="errors"> |
|
|
|
</ul>{{end}} |
|
|
|
{{range .Flashes}}<li class="urgent">{{.}}</li>{{end}} |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
{{- end}} |
|
|
|
|
|
|
|
|
|
|
|
{{ if eq .Filter "fediverse" }} |
|
|
|
{{ if eq .Filter "fediverse" }} |
|
|
|
<table class="classy export"> |
|
|
|
<table class="classy export"> |
|
|
@ -36,23 +38,23 @@ |
|
|
|
<th colspan="2">Since</th> |
|
|
|
<th colspan="2">Since</th> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
|
|
|
|
|
|
|
|
{{if and (gt (len .Followers) 0) (not .FederationEnabled)}} |
|
|
|
{{if and (gt (len .Followers) 0) (not .FederationEnabled)}} |
|
|
|
<div class="alert info"> |
|
|
|
<div class="alert info"> |
|
|
|
<p><strong>Federation is disabled on this server</strong>, so followers won't receive any new posts.</p> |
|
|
|
<p><strong>Federation is disabled on this server</strong>, so followers won't receive any new posts.</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{ if gt (len .Followers) 0 }} |
|
|
|
{{ if gt (len .Followers) 0 }} |
|
|
|
{{range $el := .Followers}} |
|
|
|
{{range $el := .Followers}} |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td><a href="{{.ActorID}}">@{{.EstimatedHandle}}</a></td> |
|
|
|
<td><a href="{{.ActorID}}">@{{.EstimatedHandle}}</a></td> |
|
|
|
<td>{{.CreatedFriendly}}</td> |
|
|
|
<td>{{.CreatedFriendly}}</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{ else }} |
|
|
|
{{ else }} |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td colspan="2">No followers yet.</td> |
|
|
|
<td colspan="2">No followers yet.</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
{{ end }} |
|
|
|
{{ end }} |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
{{ else }} |
|
|
|
{{ else }} |
|
|
|
{{if or .CanEmailSub .EmailSubs}} |
|
|
|
{{if or .CanEmailSub .EmailSubs}} |
|
|
|