all repos — honk @ bb4b1055ed9d30bfcab8b4314e4bb186ee67d600

my fork of honk

hide the buttons for private like honks
Ted Unangst tedu@tedunangst.com
Wed, 01 May 2019 14:55:11 -0400
commit

bb4b1055ed9d30bfcab8b4314e4bb186ee67d600

parent

59d974b2de429b4635b00d0d9b54361a688e0e3f

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M views/honk.htmlviews/honk.html

@@ -28,8 +28,10 @@ {{ end }}

{{ if and .BonkCSRF (not (eq .Honk.What "zonked")) }} <p> <div> +{{ if not .Honk.Privacy }} <button onclick="bonk(this, '{{ .Honk.XID }}'); return false;"><a href="/bonk">bonk</a></button> <button onclick="showhonkform('{{ .Honk.XID }}', '{{ .Honk.Username }}'); return false;"><a href="/newhonk">tonk</a></button> +{{ end }} <form class="inlineform" action="/zonkit" method="POST"> <input type="hidden" name="CSRF" value="{{ .BonkCSRF }}"> <input type="hidden" name="honk" value="{{ .Honk.XID }}">