~sircmpwn/sr.ht-dev

todo.sr.ht: fixes ~sircmpwn/todo.sr.ht#216: allow preview for comments for all tickets a user is allowed to comment v1 PROPOSED

René Wagner: 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(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/10781/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH todo.sr.ht] fixes ~sircmpwn/todo.sr.ht#216: allow preview for comments for all tickets a user is allowed to comment Export this patch

---
 todosrht/templates/ticket.html | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/todosrht/templates/ticket.html b/todosrht/templates/ticket.html
index c24fca7..a8ae821 100644
--- a/todosrht/templates/ticket.html
+++ b/todosrht/templates/ticket.html
@@ -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"
-- 
2.26.2