Compare commits

...

2 commits

2 changed files with 13 additions and 2 deletions

View file

@ -13,6 +13,17 @@
<a class="img-link" href="/user/{{.ID}}">
<div class="status-uname">{{.Acct}}</div>
</a>
<div class="status-uregdate">registered/federated {{TimeSince .CreatedAt}}</div>
{{if eq (len .Note) 0}}
<div class="status-ubio">empty bio!</div>
{{end}}
{{if not .StatusesCount}}
<div class="status-ubio">no statuses!</div>
{{end}}
{{if .Moved}}
<div class="status-umv">Moved to <a href="/user/{{.Moved.ID}}">{{.Moved.Acct}}</a></div>
{{end}}
<div class="status-ufls">follows: {{.FollowingCount}} followers: {{.FollowersCount}}</div>
</div>
<form class="d-inline" action="/accept/{{.ID}}" method="post" target="_self">
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">

View file

@ -226,10 +226,10 @@
</div>
</form>
{{end}}
<div class="status-action-container">
<div class="status-action-container">
{{if eq (printf "%.7s" .URL) "/search"}}
<div class="status-action">
<a href="{{.URL}}">Federate!</a>
<a href="{{.URL}}" target="_blank">Federate!</a>
</div>
{{else}}
<div class="status-action">