This thread contains a patchset. You're looking at the original emails,
but you may wish to use the patch review UI.
Review patch
2
2
[PATCH lists.sr.ht] Always show 'Reply to thread' button
---
listssrht/templates/thread.html | 8 --------
1 file changed, 8 deletions(-)
diff --git a/listssrht/templates/thread.html b/listssrht/templates/thread.html
index c02482b..54ecf35 100644
--- a/listssrht/templates/thread.html
+++ b/listssrht/templates/thread.html
@@ -184,18 +184,10 @@
owner_name=owner.canonical_name, list_name=ml.name,
patchset_id=thread.patchset_id) }}"
>Review patch {{icon('caret-right')}}</a>
- {% if current_user %}
- <a class="btn btn-default btn-block"
- href="{{reply_to(thread.replies[-1] if thread.replies else thread)}}"
- >Reply to thread {{icon('caret-right')}}</a>
{% endif %}
- {% else %}
- {% if current_user %}
<a class="btn btn-primary btn-block"
href="{{reply_to(thread.replies[-1] if thread.replies else thread)}}"
>Reply to thread {{icon('caret-right')}}</a>
- {% endif %}
- {% endif %}
<a class="btn btn-default btn-block" href="{{ url_for('archives.mbox',
owner_name=owner.canonical_name, list_name=ml.name,
message_id=thread.message_id) }}"
--
2.29.2
[lists.sr.ht/patches] build success
Thanks!
To git.sr.ht:~sircmpwn/lists.sr.ht
f830361..e07674f master -> master
There are some other issues with the reply button if you're interested
in investigating:
- It takes the subject from the last email, not the thread subject
- It does not Cc everyone, just the sender of the last reply
- It doesn't respect Reply-To
- It should be added to the patchset review page as well as the archives