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}}"> <a class="img-link" href="/user/{{.ID}}">
<div class="status-uname">{{.Acct}}</div> <div class="status-uname">{{.Acct}}</div>
</a> </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> </div>
<form class="d-inline" action="/accept/{{.ID}}" method="post" target="_self"> <form class="d-inline" action="/accept/{{.ID}}" method="post" target="_self">
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}"> <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">

View file

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