page: put all secondary actions in a menu (#24526)
This commit is contained in:
parent
7da07bbf2b
commit
6c9803d241
|
@ -6,10 +6,13 @@
|
|||
{% block appbar %}
|
||||
<h2>{% trans 'Page' %} - {{ object.title }}</h2>
|
||||
<span class="actions">
|
||||
<a class="extra-actions-menu-opener"></a>
|
||||
<a href="{{ object.get_online_url }}">{% trans 'see online' %}</a>
|
||||
<a href="{% url 'combo-manager-page-history' pk=object.id %}">{% trans 'history' %}</a>
|
||||
<a download href="{% url 'combo-manager-page-export' pk=object.id %}">{% trans 'export' %}</a>
|
||||
<a rel="popup" href="{% url 'combo-manager-page-delete' pk=object.id %}">{% trans 'delete' %}</a>
|
||||
<ul class="extra-actions-menu">
|
||||
<li><a href="{% url 'combo-manager-page-history' pk=object.id %}">{% trans 'history' %}</a></li>
|
||||
<li><a download href="{% url 'combo-manager-page-export' pk=object.id %}">{% trans 'export' %}</a></li>
|
||||
<li><a rel="popup" href="{% url 'combo-manager-page-delete' pk=object.id %}">{% trans 'delete' %}</a></li>
|
||||
</ul>
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue