mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-12 06:48:45 +00:00
true remote timeline fixed
This commit is contained in:
parent
34940a65df
commit
eedd9d2c5c
5 changed files with 29 additions and 11 deletions
|
@ -227,6 +227,11 @@
|
|||
</form>
|
||||
{{end}}
|
||||
<div class="status-action-container">
|
||||
{{if eq (printf "%.7s" .URL) "/search"}}
|
||||
<div class="status-action">
|
||||
<a href="{{.URL}}">Federate!</a>
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="status-action">
|
||||
<a href="/thread/{{.ID}}?reply=true#status-{{.ID}}">
|
||||
reply
|
||||
|
@ -237,6 +242,7 @@
|
|||
{{end}}
|
||||
</a>
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="status-action">
|
||||
{{$rt := "retweet"}} {{if .Reblogged}} {{$rt = "unretweet"}} {{end}}
|
||||
<form class="status-retweet" data-action="{{$rt}}" action="/{{$rt}}/{{.ID}}" method="post" target="_self">
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
</span>
|
||||
<button type="submit"> Submit </button>
|
||||
</form>
|
||||
{{if eq .Instance ""}}
|
||||
{{else}}
|
||||
<a href="/timeline/tremote?instance={{.Instance}}"> Look via True remote timeline viewer (works with mastodon API compatible instances) </a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{if eq .Type "tag"}}
|
||||
<form class="search-form" action="/timeline/tag" method="GET">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue