Rename a bunch of Editor Tools titles
This commit is contained in:
Родитель
1444c1e9d0
Коммит
e628d138de
|
@ -47,9 +47,9 @@
|
|||
<a href="{{ remora_url('/editors/reviewlog') }}" class="controller">{{ _('Logs') }}</a>
|
||||
<ul>
|
||||
<li><a href="{{ remora_url('/editors/reviewlog') }}">
|
||||
{{ _('Review Log') }}</a></li>
|
||||
{{ _('Add-on Review Log') }}</a></li>
|
||||
<li><a href="{{ remora_url('/editors/logs') }}">
|
||||
{{ _('Event Log') }}</a></li>
|
||||
{{ _('Moderated Review Log') }}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="top">
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{% extends "editors/base.html" %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
{{ editors_breadcrumbs(items=[(None, _('Event Log'))]) }}
|
||||
{{ editors_breadcrumbs(items=[(None, _('Moderated Review Log'))]) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{{ _('Editor Event Log') }}</h2>
|
||||
<h2>{{ _('Moderated Review Log') }}</h2>
|
||||
|
||||
<div class="listing results">
|
||||
<div class="results-inner controls">
|
||||
|
|
|
@ -113,7 +113,13 @@
|
|||
|
||||
<div class="listing results">
|
||||
<div class="results-inner">
|
||||
<div class="listing-header">{{ _('Recent Editor Activity') }}</div>
|
||||
<div class="listing-header">
|
||||
<a href="{{ url('editors.queue_moderated') }}">
|
||||
{# L10n: num = number of reviews in the queue #}
|
||||
{{ ngettext('Moderated Review ({num})',
|
||||
'Moderated Reviews ({num})',
|
||||
queue_counts['moderated'])|f(num=queue_counts['moderated']) }}</a>
|
||||
</div>
|
||||
{% for item in eventlog %}
|
||||
<div class="row">
|
||||
{{ item.to_string('editor') }}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{% extends "editors/base.html" %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
{{ editors_breadcrumbs(items=[(None, _('Review Log'))]) }}
|
||||
{{ editors_breadcrumbs(items=[(None, _('Add-on Review Log'))]) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{{ _('Editor Review Log', 'editorcp_reviewlog_page_heading') }}</h2>
|
||||
<h2>{{ _('Add-on Review Log', 'editorcp_reviewlog_page_heading') }}</h2>
|
||||
|
||||
<div class="listing results"><div class="results-inner controls">
|
||||
<div id="log-filter">
|
||||
|
|
|
@ -100,7 +100,7 @@ class TestEventLog(EditorTest):
|
|||
eq_(list_items.length, 2)
|
||||
|
||||
eq_(list_items.eq(0).find('a').text(), "Editor Tools")
|
||||
eq_(list_items.eq(1).text(), "Event Log")
|
||||
eq_(list_items.eq(1).text(), "Moderated Review Log")
|
||||
|
||||
|
||||
class TestEventLogDetail(TestEventLog):
|
||||
|
@ -192,7 +192,7 @@ class TestReviewLog(EditorTest):
|
|||
eq_(list_items.length, 2)
|
||||
|
||||
eq_(list_items.eq(0).find('a').text(), "Editor Tools")
|
||||
eq_(list_items.eq(1).text(), "Review Log")
|
||||
eq_(list_items.eq(1).text(), "Add-on Review Log")
|
||||
|
||||
@patch('devhub.models.ActivityLog.arguments')
|
||||
def test_addon_missing(self, arguments):
|
||||
|
|
Загрузка…
Ссылка в новой задаче