feat: add post diff remove button

main
gasoved 4 years ago committed by Julian Lam
parent 0da178b0c2
commit be86cfc5be

@ -24,7 +24,13 @@
{{{ if editable }}} {{{ if editable }}}
<button class="btn btn-primary" data-action="restore">[[topic:diffs.restore]]</button> <button class="btn btn-primary" data-action="restore">[[topic:diffs.restore]]</button>
{{{ end }}}
{{{ if deletable }}}
<button class="btn btn-danger" data-action="delete">[[topic:diffs.delete]]</button>
{{{ end }}}
{{{ if editable }}}
<p class="help-block">[[topic:diffs.restore-description]]</p> <p class="help-block">[[topic:diffs.restore-description]]</p>
{{{ end }}} {{{ end }}}
</div> </div>
<!-- END --> <!-- END -->
Loading…
Cancel
Save