Partially implement reply feature in iOS

#28
This commit is contained in:
KnugiHK
2023-06-02 01:27:05 +08:00
parent 7c78cce221
commit 80c3ed11f6
2 changed files with 30 additions and 7 deletions

View File

@@ -68,7 +68,13 @@
{% if msg.reply is not none %}
<div class="reply">
<span style="color: #70777a;">Replying to </span>
<a href="#{{msg.reply}}" style="color: #168acc;">"{{ msg.quoted_data or 'media' }}"</a>
<a href="#{{msg.reply}}" style="color: #168acc;">
{% if msg.quoted_data is not none %}
"{{msg.quoted_data}}"
{% else %}
this message
{% endif %}
</a>
</div>
{% endif %}
{% if msg.meta == true or msg.media == false and msg.data is none %}
@@ -124,7 +130,13 @@
{% if msg.reply is not none %}
<div class="reply">
<span style="color: #70777a;">Replying to </span>
<a href="#{{msg.reply}}" style="color: #168acc;">"{{ msg.quoted_data or 'media' }}"</a>
<a href="#{{msg.reply}}" style="color: #168acc;">
{% if msg.quoted_data is not none %}
"{{msg.quoted_data}}"
{% else %}
this message
{% endif %}
</a>
</div>
{% endif %}
{% if msg.meta == true or msg.media == false and msg.data is none %}