droplist for actions

This commit is contained in:
Markos Gogoulos
2026-01-10 15:58:16 +02:00
parent 549b672d48
commit bcc8a0858c
4 changed files with 174 additions and 15 deletions

View File

@@ -43,6 +43,12 @@
</li>
{% endcomment %}
{% endif %}
<li style="display: inline-block;">
<a href="{% url 'publish_media' %}?m={{media_object.friendly_token}}"
style="text-decoration: none; {% if active_tab == 'publish' %}font-weight: bold; color: #333; padding-bottom: 3px; border-bottom: 2px solid #333;{% else %}color: #666;{% endif %}">
{{ "Publish" | custom_translate:LANGUAGE_CODE}}
</a>
</li>
{% if ALLOW_MEDIA_REPLACEMENT %}
<li style="display: inline-block;">
<a href="{% url 'replace_media' %}?m={{media_object.friendly_token}}"
@@ -51,11 +57,5 @@
</a>
</li>
{% endif %}
<li style="display: inline-block;">
<a href="{% url 'publish_media' %}?m={{media_object.friendly_token}}"
style="text-decoration: none; {% if active_tab == 'publish' %}font-weight: bold; color: #333; padding-bottom: 3px; border-bottom: 2px solid #333;{% else %}color: #666;{% endif %}">
{{ "Publish" | custom_translate:LANGUAGE_CODE}}
</a>
</li>
</ul>
</div>

View File

@@ -25,6 +25,7 @@ MediaCMS.features = {
timestampTimebar: {% if TIMESTAMP_IN_TIMEBAR %}true{% else %}false{% endif %},
comment_mention: {% if CAN_MENTION_IN_COMMENTS %}true{% else %}false{% endif %},
save: true,
allowMediaReplacement: {% if ALLOW_MEDIA_REPLACEMENT %}true{% else %}false{% endif %},
},
shareOptions: [ 'embed', 'fb', 'tw', 'whatsapp', 'telegram', 'reddit', 'tumblr', 'vk', 'pinterest', 'mix', 'linkedin', 'email' ],
},