not ready to make badonks optional

This commit is contained in:
Ted Unangst 2020-02-07 12:00:06 -05:00
parent 285f3cb5ac
commit 7d9dcb9114
1 changed files with 0 additions and 3 deletions

View File

@ -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>