Add DM/mention button on profile

This commit is contained in:
Thomas Sileo
2022-08-11 20:48:20 +02:00
parent 81c2ef8961
commit ccd77adcb6
3 changed files with 26 additions and 2 deletions

View File

@@ -31,7 +31,7 @@
<p>
<select name="visibility">
{% for (k, v) in visibility_choices %}
<option value="{{ k }}" {% if in_reply_to_object and in_reply_to_object.visibility.name == k %}selected{% endif %}>{{ v }}</option>
<option value="{{ k }}" {% if visibility == k or in_reply_to_object and in_reply_to_object.visibility.name == k %}selected{% endif %}>{{ v }}</option>
{% endfor %}
</select>
</p>