misc: use new markup for appbar actions (#25927)
This commit is contained in:
parent
73993484d8
commit
6ae1b0e8be
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
{% block appbar %}
|
{% block appbar %}
|
||||||
<h2>{% trans 'Assets' %}</h2>
|
<h2>{% trans 'Assets' %}</h2>
|
||||||
|
<span class="actions">
|
||||||
<a href="{% url 'combo-manager-asset-upload' %}" rel="popup">{% trans 'Upload' %}</a>
|
<a href="{% url 'combo-manager-asset-upload' %}" rel="popup">{% trans 'Upload' %}</a>
|
||||||
|
</span>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
{% block appbar %}
|
{% block appbar %}
|
||||||
<h2>{% trans 'Regies' %}</h2>
|
<h2>{% trans 'Regies' %}</h2>
|
||||||
|
<span class="actions">
|
||||||
<a rel="popup" href="{% url 'lingo-manager-regie-add' %}">{% trans 'New' %}</a>
|
<a rel="popup" href="{% url 'lingo-manager-regie-add' %}">{% trans 'New' %}</a>
|
||||||
|
</span>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
{% block appbar %}
|
{% block appbar %}
|
||||||
<h2>{% trans 'Transactions' %}</h2>
|
<h2>{% trans 'Transactions' %}</h2>
|
||||||
|
<span class="actions">
|
||||||
<a href="{% url 'lingo-manager-transactions-download' %}">{% trans 'download CSV' %}</a>
|
<a href="{% url 'lingo-manager-transactions-download' %}">{% trans 'download CSV' %}</a>
|
||||||
|
</span>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
{% block appbar %}
|
{% block appbar %}
|
||||||
<h2>{% trans 'Maps' %}</h2>
|
<h2>{% trans 'Maps' %}</h2>
|
||||||
|
<span class="actions">
|
||||||
<a rel="popup" href="{% url 'maps-manager-layer-add' %}">{% trans 'New' %}</a>
|
<a rel="popup" href="{% url 'maps-manager-layer-add' %}">{% trans 'New' %}</a>
|
||||||
|
</span>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
{% block appbar %}
|
{% block appbar %}
|
||||||
<h2>{% trans 'Pages' %}</h2>
|
<h2>{% trans 'Pages' %}</h2>
|
||||||
|
<span class="actions">
|
||||||
<a class="extra-actions-menu-opener"></a>
|
<a class="extra-actions-menu-opener"></a>
|
||||||
<a rel="popup" href="{% url 'combo-manager-page-add' %}">{% trans 'New' %}</a>
|
<a rel="popup" href="{% url 'combo-manager-page-add' %}">{% trans 'New' %}</a>
|
||||||
<ul class="extra-actions-menu">
|
<ul class="extra-actions-menu">
|
||||||
|
@ -12,6 +13,7 @@
|
||||||
<li><a href="{{ extra_action.href }}">{{ extra_action.text }}</a></li>
|
<li><a href="{{ extra_action.href }}">{{ extra_action.text }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
</span>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
@ -5,10 +5,12 @@
|
||||||
|
|
||||||
{% block appbar %}
|
{% block appbar %}
|
||||||
<h2>{% trans 'Page' %} - {{ object.title }}</h2>
|
<h2>{% trans 'Page' %} - {{ object.title }}</h2>
|
||||||
|
<span class="actions">
|
||||||
<a href="{{ object.get_online_url }}">{% trans 'see online' %}</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 href="{% url 'combo-manager-page-history' pk=object.id %}">{% trans 'history' %}</a>
|
||||||
<a href="{% url 'combo-manager-page-export' pk=object.id %}">{% trans 'export' %}</a>
|
<a 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>
|
<a rel="popup" href="{% url 'combo-manager-page-delete' pk=object.id %}">{% trans 'delete' %}</a>
|
||||||
|
</span>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block breadcrumb %}
|
{% block breadcrumb %}
|
||||||
|
|
Loading…
Reference in New Issue