not ready to make badonks optional
Ted Unangst tedu@tedunangst.com
Fri, 07 Feb 2020 12:00:06 -0500
1 files changed,
0 insertions(+),
3 deletions(-)
jump to
M
views/honk.html
→
views/honk.html
@@ -2,7 +2,6 @@ <article class="honk {{ .Honk.Style }}" data-convoy="{{ .Honk.Convoy }}">
{{ $bonkcsrf := .BonkCSRF }} {{ $IsPreview := .IsPreview }} {{ $maplink := .MapLink }} -{{ $hasbadonk := .HasBadonk }} {{ with .Honk }} <header> {{ if $bonkcsrf }}@@ -122,12 +121,10 @@ {{ else }}
<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>