don't show flagged queue link on queue detail
This commit is contained in:
Родитель
4569eaf471
Коммит
a09b95c9df
|
@ -20,12 +20,11 @@
|
|||
|
||||
<h1 class="theme-queue-header">{% block page_header %}{{ title_text }}{% endblock %}</h1>
|
||||
<nav class="theme-review"><ul>
|
||||
{% if action_allowed('ReviewerAdminTools', 'View') and not flagged %}
|
||||
{% if action_allowed('ReviewerAdminTools', 'View') and not theme and not flagged %}
|
||||
<li><a href="{{ url('reviewers.themes.queue_flagged') }}">
|
||||
{{ _('Flagged') }}
|
||||
{{ _('Flagged Queue') }}
|
||||
</a></li>
|
||||
{% endif %}
|
||||
{% if flagged %}
|
||||
{% else %}
|
||||
<li><a href="{{ url('reviewers.themes.queue_themes') }}">
|
||||
{{ _('Back to Themes Queue') }}
|
||||
</a></li>
|
||||
|
|
Загрузка…
Ссылка в новой задаче