can't revert untag for now, but show status in button

This commit is contained in:
Ted Unangst 2019-11-04 02:49:23 -05:00
parent 3d73326072
commit bd4c2f1114
1 changed files with 4 additions and 0 deletions

View File

@ -114,7 +114,11 @@ in reply to: <a href="{{ .RID }}" rel=noreferrer>{{ .RID }}</a>
{{ else }} {{ else }}
<button onclick="return flogit(this, 'save', '{{ .Honk.XID }}');">save</button> <button onclick="return flogit(this, 'save', '{{ .Honk.XID }}');">save</button>
{{ end }} {{ end }}
{{ if .Honk.IsUntagged }}
<button disabled>untagged</button>
{{ else }}
<button onclick="return flogit(this, 'untag', '{{ .Honk.XID }}');">untag me</button> <button onclick="return flogit(this, 'untag', '{{ .Honk.XID }}');">untag me</button>
{{ end }}
<button><a href="/edit?xid={{ .Honk.XID }}">edit</a></button> <button><a href="/edit?xid={{ .Honk.XID }}">edit</a></button>
</div> </div>
</details> </details>