-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
4f1a9d1
commit 6ec4ae0
Showing
18 changed files
with
152 additions
and
65 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
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
12 changes: 6 additions & 6 deletions
12
wagtail/admin/templates/wagtailadmin/home/site_summary_pages.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,11 +1,11 @@ | ||
{% load i18n wagtailadmin_tags %} | ||
|
||
<li class="icon icon-doc-empty-inverse"> | ||
<a href="{% url 'wagtailadmin_explore' root_page.pk %}"> | ||
{% blocktrans count counter=total_pages with total_pages|intcomma as total %} | ||
<span>{{ total }}</span> Page | ||
{% plural %} | ||
<span>{{ total }}</span> Pages | ||
{% endblocktrans %} | ||
<a href="{% url 'wagtailadmin_explore' root_page.pk %}"> | ||
{% blocktrans count counter=total_pages with total_pages|intcomma as total %} | ||
<span>{{ total }}</span> Page <span class="visuallyhidden">created in {{ site_name }}</span> | ||
{% plural %} | ||
<span>{{ total }}</span> Pages <span class="visuallyhidden">created in {{ site_name }}</span> | ||
{% endblocktrans %} | ||
</a> | ||
</li> |
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
9 changes: 7 additions & 2 deletions
9
wagtail/admin/templates/wagtailadmin/shared/page_status_tag.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,10 @@ | ||
{% load i18n %} | ||
{% if page.live %} | ||
<a href="{{ page.url }}" target="_blank" rel="noopener noreferrer" class="status-tag primary">{{ page.status_string }}</a> | ||
<a href="{{ page.url }}" target="_blank" rel="noopener noreferrer" class="status-tag primary" title="{% trans 'Visit the live page' %}"> | ||
<span class="visuallyhidden">{% trans "Current page status:" %}</span> {{ page.status_string }} | ||
</a> | ||
{% else %} | ||
<span class="status-tag">{{ page.status_string }}</span> | ||
<span class="status-tag"> | ||
<span class="visuallyhidden">{% trans "Current page status:" %}</span> {{ page.status_string }} | ||
</span> | ||
{% endif %} |
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
Oops, something went wrong.