Projet

Général

Profil

0001-page-put-all-secondary-actions-in-a-menu-24526.patch

Lauréline Guérin, 28 octobre 2019 08:59

Télécharger (1,47 ko)

Voir les différences:

Subject: [PATCH 1/2] page: put all secondary actions in a menu (#24526)

 combo/manager/templates/combo/page_view.html | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
combo/manager/templates/combo/page_view.html
6 6
{% block appbar %}
7 7
<h2>{% trans 'Page' %} - {{ object.title }}</h2>
8 8
<span class="actions">
9
<a class="extra-actions-menu-opener"></a>
9 10
<a href="{{ object.get_online_url }}">{% trans 'see online' %}</a>
10
<a href="{% url 'combo-manager-page-history' pk=object.id %}">{% trans 'history' %}</a>
11
<a download href="{% url 'combo-manager-page-export' pk=object.id %}">{% trans 'export' %}</a>
12
<a rel="popup" href="{% url 'combo-manager-page-delete' pk=object.id %}">{% trans 'delete' %}</a>
11
<ul class="extra-actions-menu">
12
  <li><a href="{% url 'combo-manager-page-history' pk=object.id %}">{% trans 'history' %}</a></li>
13
  <li><a download href="{% url 'combo-manager-page-export' pk=object.id %}">{% trans 'export' %}</a></li>
14
  <li><a rel="popup" href="{% url 'combo-manager-page-delete' pk=object.id %}">{% trans 'delete' %}</a></li>
15
</ul>
13 16
</span>
14 17
{% endblock %}
15 18

  
16
-