~sircmpwn/todo.sr.ht

fcf5cf218db725ddcededb6d1f2197874bb2844e — RenĂ© Wagner 2 months ago 6ac582e 0.58.1
fixes ~sircmpwn/todo.sr.ht#216: allow preview for comments for all tickets a user is allowed to comment
1 files changed, 6 insertions(+), 6 deletions(-)

M todosrht/templates/ticket.html
M todosrht/templates/ticket.html => todosrht/templates/ticket.html +6 -6
@@ 389,6 389,12 @@
        >
          Comment {{icon("caret-right")}}
        </button>
        <button
          type="submit"
          name="preview"
          value="true"
          class="btn btn-default pull-right"
        >Preview {{icon("caret-right")}}</button>
        {% if TicketAccess.edit in access %}
        {% if ticket.status != TicketStatus.resolved %}
        <button


@@ 406,12 412,6 @@
          {% endif %}
          {% endfor %}
        </select>
        <button
          type="submit"
          name="preview"
          value="true"
          class="btn btn-default pull-right"
        >Preview {{icon("caret-right")}}</button>
        {% else %}
        <button
          type="submit"