kopia lustrzana https://github.com/wagtail/wagtail
renaming more of editors picks to promoted search results
rodzic
b4699d2b2e
commit
0de10c110a
|
@ -8,9 +8,10 @@
|
|||
<div class="nice-padding">
|
||||
<div class="help-block help-info">
|
||||
{% blocktrans %}
|
||||
<p>Editors picks are a means of recommending specific pages that might not organically come high up in search results. E.g recommending your primary donation page to a user searching with a less common term like "<em>giving</em>".</p>
|
||||
{% endblocktrans %}
|
||||
{% blocktrans %}
|
||||
<p>Promoted search results are a means of recommending specific pages that might not organically come high up in search results. E.g recommending your primary donation page to a user searching with the less common term "<em>giving</em>".</p>
|
||||
{% endblocktrans %}
|
||||
|
||||
{% blocktrans %}
|
||||
<p>The "Search term(s)/phrase" field below must contain the full and exact search for which you wish to provide recommended results, <em>including</em> any misspellings/user error. To help, you can choose from search terms that have been popular with users of your site.</p>
|
||||
{% endblocktrans %}
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{% include "wagtailadmin/shared/header.html" with title=delete_str subtitle=query.query_string %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>{% trans "Are you sure you want to delete all editors picks for this search term?" %}</p>
|
||||
<p>{% trans "Are you sure you want to delete all promoted results for this search term?" %}</p>
|
||||
<form action="{% url 'wagtailsearch_editorspicks_delete' query.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="{% trans 'Yes, delete' %}" class="serious" />
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
</ul>
|
||||
|
||||
<fieldset>
|
||||
<legend>{% trans "Editors pick" %}</legend>
|
||||
<legend>{% trans "Promoted search result" %}</legend>
|
||||
<ul class="fields">
|
||||
<li class="model_choice_field">
|
||||
{% trans "Choose another page" as choose_another_text_str %}
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% trans "Editor's search picks" as sp_title_str %}
|
||||
{% trans "Add new editor's pick" as sp_text_str %}
|
||||
{% trans "Promoted search results" as sp_title_str %}
|
||||
{% trans "Add new promoted result" as sp_text_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=sp_title_str add_link="wagtailsearch_editorspicks_add" icon="pick" add_text=sp_text_str search_url="wagtailsearch_editorspicks_index" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th class="title">{% trans "Search term(s)" %}</th>
|
||||
<th>{% trans "Editors picks" %}</th>
|
||||
<th>{% trans "Promoted results" %}</th>
|
||||
<th>{% trans "Views (past week)" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
{% include "wagtailadmin/shared/pagination_nav.html" with items=queries is_searching=is_searching linkurl="wagtailsearch_editorspicks_index" %}
|
||||
{% else %}
|
||||
{% if is_searching %}
|
||||
<p>{% blocktrans %}Sorry, no editor's picks match "<em>{{ query_string }}</em>"{% endblocktrans %}</p>
|
||||
<p>{% blocktrans %}Sorry, no promoted results match "<em>{{ query_string }}</em>"{% endblocktrans %}</p>
|
||||
{% else %}
|
||||
{% url 'wagtailsearch_editorspicks_add' as wagtailsearch_editorspicks_add_url %}
|
||||
<p>{% blocktrans %}No editor's picks have been created. Why not <a href="{{ wagtailsearch_editorspicks_add_url }}">add one</a>?{% endblocktrans %}</p>
|
||||
<p>{% blocktrans %}No promoted results have been created. Why not <a href="{{ wagtailsearch_editorspicks_add_url }}">add one</a>?{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
Ładowanie…
Reference in New Issue