2021-08-09 01:40:47 +00:00
|
|
|
{% load i18n %}
|
2022-03-10 16:38:06 +00:00
|
|
|
<div class="field has-addons is-justify-content-end">
|
|
|
|
<div class="control">
|
2021-08-09 01:40:47 +00:00
|
|
|
{% if type == 'direct' %}
|
|
|
|
<input type="hidden" name="privacy" value="direct">
|
|
|
|
<button type="button" class="button" aria-label="Privacy" disabled>{% trans "Private" %}</button>
|
|
|
|
{% else %}
|
|
|
|
{% if draft %}
|
|
|
|
{% include 'snippets/privacy_select.html' with current=draft.privacy %}
|
|
|
|
{% else %}
|
|
|
|
{% include 'snippets/privacy_select.html' with current=reply_parent.privacy %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-03-10 16:38:06 +00:00
|
|
|
<div class="control">
|
2021-09-10 15:30:28 +00:00
|
|
|
<button class="button is-link" type="submit">
|
|
|
|
<span class="icon icon-spinner" aria-hidden="true"></span>
|
|
|
|
<span>{% trans "Post" %}</span>
|
|
|
|
</button>
|
2021-08-09 01:40:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|