can't revert untag for now, but show status in button
Ted Unangst tedu@tedunangst.com
Mon, 04 Nov 2019 02:49:23 -0500
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
views/honk.html
→
views/honk.html
@@ -114,7 +114,11 @@ <button onclick="return flogit(this, 'unsave', '{{ .Honk.XID }}');">unsave</button>
{{ else }} <button onclick="return flogit(this, 'save', '{{ .Honk.XID }}');">save</button> {{ end }} +{{ if .Honk.IsUntagged }} +<button disabled>untagged</button> +{{ else }} <button onclick="return flogit(this, 'untag', '{{ .Honk.XID }}');">untag me</button> +{{ end }} <button><a href="/edit?xid={{ .Honk.XID }}">edit</a></button> </div> </details>