summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauréline Guérin <zebuline@entrouvert.com>2019-10-22 09:50:16 (GMT)
committerLauréline Guérin <zebuline@entrouvert.com>2019-10-31 15:59:27 (GMT)
commit6c9803d24102d213f2d0b0f5e90df767c069ac86 (patch)
treecbfbfa52342737bdfdd39b8425891bab5809501d
parent7da07bbf2b2d1dc7bf27bac826c7e511f3c347dc (diff)
downloadcombo-6c9803d24102d213f2d0b0f5e90df767c069ac86.zip
combo-6c9803d24102d213f2d0b0f5e90df767c069ac86.tar.gz
combo-6c9803d24102d213f2d0b0f5e90df767c069ac86.tar.bz2
page: put all secondary actions in a menu (#24526)
-rw-r--r--combo/manager/templates/combo/page_view.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/combo/manager/templates/combo/page_view.html b/combo/manager/templates/combo/page_view.html
index 2860371..c1fa61f 100644
--- a/combo/manager/templates/combo/page_view.html
+++ b/combo/manager/templates/combo/page_view.html
@@ -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 %}