-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/remove-patching
- Loading branch information
Showing
19 changed files
with
93 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
djangocms_versioning/templates/djangocms_versioning/admin/archive_icon.html
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
djangocms_versioning/templates/djangocms_versioning/admin/discard_icon.html
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
djangocms_versioning/templates/djangocms_versioning/admin/icons/archive_icon.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends "./base.html" %} | ||
{% load i18n %} | ||
{% block title %}{% translate 'Archive' %}{% endblock %} | ||
{% block name %}archive{% endblock %} | ||
{% block icon %}archive{% endblock %} |
18 changes: 2 additions & 16 deletions
18
djangocms_versioning/templates/djangocms_versioning/admin/icons/base.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,5 @@ | ||
{% spaceless %} | ||
<a | ||
title="{% block title %}{% endblock %}" | ||
class="btn | ||
{% if disabled %} | ||
inactive | ||
{% endif %} | ||
cms-versioning-action-btn | ||
cms-versioning-action-{% block name %}{% endblock %} | ||
{% if get|default_if_none:True %} cms-form-get-method {% endif %} | ||
{% if action|default_if_none:True %} js-versioning-action{% endif %} | ||
{% if keepsideframe|default_if_none:True %}js-versioning-keep-sideframe {% else %}js-versioning-close-sideframe {% endif %}" | ||
{% if not disabled %} | ||
href="{{ url }}" | ||
{% endif %} | ||
> | ||
<img src="{% block icon %}{% endblock %}"> | ||
<a class="btn{% if disabled %} inactive{% endif %}{% if get|default_if_none:True %} cms-form-get-method{% endif %} cms-versioning-action-btn cms-versioning-action-{% block name %}{% endblock %}{% if action|default_if_none:True %} js-versioning-action{% endif %}{% if keepsideframe|default_if_none:True %} js-versioning-keep-sideframe{% else %} js-versioning-close-sideframe{% endif %}"{% if not disabled %} href="{{ url }}"{% endif %} title="{% block title %}{% endblock %}"> | ||
<span class="cms-icon cms-icon-{% block icon %}{% endblock %}"></span> | ||
</a> | ||
{% endspaceless %} |
5 changes: 5 additions & 0 deletions
5
djangocms_versioning/templates/djangocms_versioning/admin/icons/discard_icon.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends "./base.html" %} | ||
{% load i18n %} | ||
{% block title %}{% translate 'Discard' %}{% endblock %} | ||
{% block name %}discard{% endblock %} | ||
{% block icon %}bin{% endblock %} |
6 changes: 3 additions & 3 deletions
6
djangocms_versioning/templates/djangocms_versioning/admin/icons/edit_icon.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{% extends "./base.html" %} | ||
{% load static i18n %} | ||
{% block title %}{% trans 'Edit' %}{% endblock %} | ||
{% load i18n %} | ||
{% block title %}{% translate 'Edit' %}{% endblock %} | ||
{% block name %}edit{% endblock %} | ||
{% block icon %}{% static 'djangocms_versioning/svg/edit.svg' %}{% endblock %} | ||
{% block icon %}pencil{% endblock %} |
6 changes: 3 additions & 3 deletions
6
djangocms_versioning/templates/djangocms_versioning/admin/icons/manage_versions.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{% extends "./base.html" %} | ||
{% load static i18n %} | ||
{% block title %}{% trans 'Manage versions' %}{% endblock %} | ||
{% load i18n %} | ||
{% block title %}{% translate 'Manage versions' %}{% endblock %} | ||
{% block name %}manage-versions{% endblock %} | ||
{% block icon %}{% static 'djangocms_versioning/svg/manage_versions.svg' %}{% endblock %} | ||
{% block icon %}copy{% endblock %} |
6 changes: 3 additions & 3 deletions
6
djangocms_versioning/templates/djangocms_versioning/admin/icons/preview.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{% extends "./base.html" %} | ||
{% load static i18n %} | ||
{% block title %}{% trans 'Preview' %}{% endblock %} | ||
{% load i18n %} | ||
{% block title %}{% translate 'Preview' %}{% endblock %} | ||
{% block name %}preview{% endblock %} | ||
{% block icon %}{% static 'djangocms_versioning/svg/preview.svg' %}{% endblock %} | ||
{% block icon %}eye{% endblock %} |
5 changes: 5 additions & 0 deletions
5
djangocms_versioning/templates/djangocms_versioning/admin/icons/publish_icon.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends "./base.html" %} | ||
{% load i18n %} | ||
{% block title %}{% translate 'Publish' %}{% endblock %} | ||
{% block name %}edit{% endblock %} | ||
{% block icon %}publish{% endblock %} |
5 changes: 5 additions & 0 deletions
5
djangocms_versioning/templates/djangocms_versioning/admin/icons/revert_icon.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends "./base.html" %} | ||
{% load i18n %} | ||
{% block title %}{% translate 'Revert' %}{% endblock %} | ||
{% block name %}revert{% endblock %} | ||
{% block icon %}undo{% endblock %} |
5 changes: 5 additions & 0 deletions
5
djangocms_versioning/templates/djangocms_versioning/admin/icons/unpublish_icon.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends "./base.html" %} | ||
{% load i18n %} | ||
{% block title %}{% translate 'Unpublish' %}{% endblock %} | ||
{% block name %}unpublish{% endblock %} | ||
{% block icon %}unpublish{% endblock %} |
5 changes: 5 additions & 0 deletions
5
djangocms_versioning/templates/djangocms_versioning/admin/icons/view.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends "./base.html" %} | ||
{% load i18n %} | ||
{% block title %}{% translate 'View on site' %}{% endblock %} | ||
{% block name %}preview{% endblock %} | ||
{% block icon %}eye{% endblock %} |
2 changes: 0 additions & 2 deletions
2
djangocms_versioning/templates/djangocms_versioning/admin/publish_icon.html
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
djangocms_versioning/templates/djangocms_versioning/admin/revert_icon.html
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
djangocms_versioning/templates/djangocms_versioning/admin/unpublish_icon.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters