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 }} {{ $bonkcsrf := .BonkCSRF }}
{{ $IsPreview := .IsPreview }} {{ $IsPreview := .IsPreview }}
{{ $maplink := .MapLink }} {{ $maplink := .MapLink }}
{{ $hasbadonk := .HasBadonk }}
{{ with .Honk }} {{ with .Honk }}
<header> <header>
{{ if $bonkcsrf }} {{ 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> <button onclick="return flogit(this, 'untag', '{{ .Honk.XID }}');">untag me</button>
{{ end }} {{ end }}
<button><a href="/edit?xid={{ .Honk.XID }}">edit</a></button> <button><a href="/edit?xid={{ .Honk.XID }}">edit</a></button>
{{ if $hasbadonk }}
{{ if .Honk.IsReacted }} {{ if .Honk.IsReacted }}
<button disabled>badonkadonked</button> <button disabled>badonkadonked</button>
{{ else }} {{ else }}
<button onclick="return flogit(this, 'react', '{{ .Honk.XID }}');">badonkadonk</button> <button onclick="return flogit(this, 'react', '{{ .Honk.XID }}');">badonkadonk</button>
{{ end }} {{ end }}
{{ end }}
</div> </div>
</details> </details>
<p> <p>