manager: add CSS class to page actions (#37410)

This commit is contained in:
Frédéric Péters 2019-11-03 19:28:30 +01:00
parent 8ed1923e44
commit de7f5dbb15
1 changed files with 6 additions and 6 deletions

View File

@ -7,13 +7,13 @@
<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 class="action-see-online" href="{{ object.get_online_url }}">{% trans 'See online' %}</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-add-child' pk=object.id %}">{% trans 'Add a child page' %}</a></li>
<li><a href="{% url 'combo-manager-page-duplicate' pk=object.id %}">{% trans 'Duplicate' %}</a></li>
<li><a rel="popup" href="{% url 'combo-manager-page-delete' pk=object.id %}">{% trans 'Delete' %}</a></li>
<li><a class="action-history" href="{% url 'combo-manager-page-history' pk=object.id %}">{% trans 'History' %}</a></li>
<li><a class="action-export" download href="{% url 'combo-manager-page-export' pk=object.id %}">{% trans 'Export' %}</a></li>
<li><a class="action-add-child" rel="popup" href="{% url 'combo-manager-page-add-child' pk=object.id %}">{% trans 'Add a child page' %}</a></li>
<li><a class="action-duplicate" href="{% url 'combo-manager-page-duplicate' pk=object.id %}">{% trans 'Duplicate' %}</a></li>
<li><a class="action-delete" rel="popup" href="{% url 'combo-manager-page-delete' pk=object.id %}">{% trans 'Delete' %}</a></li>
</ul>
</span>
{% endblock %}