mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-27 08:04:01 +00:00
ensuring classes are consistent
This commit is contained in:
parent
e2cf9f16e4
commit
8afd7e6088
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<button class="action-preview button"
|
||||
<button class="action-preview button icon icon-view"
|
||||
data-action="{% url 'wagtailadmin_pages_preview_on_create' content_type.app_label content_type.model parent_page.id %}{% if mode %}?mode={{ mode|urlencode }}{% endif %}"
|
||||
data-placeholder="{% url 'wagtailadmin_pages_preview_placeholder' %}"
|
||||
data-windowname="wagtail_preview_{{ parent_page.id }}_child" value="{{ label }}" />
|
||||
data-windowname="wagtail_preview_{{ parent_page.id }}_child">{{ label }}</button>
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
<li class="actions preview">
|
||||
{% trans 'Preview' as preview_label %}
|
||||
{% if display_modes|length > 1 %}
|
||||
<div class="dropdown dropup dropdown-button match-width icon icon-view">
|
||||
<div class="dropdown dropup dropdown-button match-width">
|
||||
{% include "wagtailadmin/pages/_preview_button_on_edit.html" with label=preview_label %}
|
||||
<div class="dropdown-toggle icon icon-arrow-up"></div>
|
||||
<ul role="menu">
|
||||
|
|
|
|||
Loading…
Reference in a new issue