not ready to make badonks optional
This commit is contained in:
parent
285f3cb5ac
commit
7d9dcb9114
|
@ -2,7 +2,6 @@
|
|||
{{ $bonkcsrf := .BonkCSRF }}
|
||||
{{ $IsPreview := .IsPreview }}
|
||||
{{ $maplink := .MapLink }}
|
||||
{{ $hasbadonk := .HasBadonk }}
|
||||
{{ with .Honk }}
|
||||
<header>
|
||||
{{ if $bonkcsrf }}
|
||||
|
@ -122,13 +121,11 @@ in reply to: <a href="{{ .RID }}" rel=noreferrer>{{ .RID }}</a>
|
|||
<button onclick="return flogit(this, 'untag', '{{ .Honk.XID }}');">untag me</button>
|
||||
{{ end }}
|
||||
<button><a href="/edit?xid={{ .Honk.XID }}">edit</a></button>
|
||||
{{ if $hasbadonk }}
|
||||
{{ if .Honk.IsReacted }}
|
||||
<button disabled>badonkadonked</button>
|
||||
{{ else }}
|
||||
<button onclick="return flogit(this, 'react', '{{ .Honk.XID }}');">badonkadonk</button>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</details>
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue