{%- elif request.user and request.user.has_privilege('featurer') %}
<div>
<h2>{% trans %}Nothing is currently featured.{% endtrans %}</h2>
- {% trans %}If you would like to feature a
+ {% trans -%}
+ If you would like to feature a
piece of media, go to that media entry's homepage and click the button
- that says{% endtrans %} <a class="button_action">{% trans %}Feature{% endtrans %}</a>.
- {% trans %}You're seeing this page because you are a user capable of
+ that says <a class="button_action">Feature</a>.
+ {%- endtrans %}
+ {% trans featured_media_url=request.urlgen('manage-featured-media') -%}
+ You're seeing this page because you are a user capable of
featuring media, a regular user would see a blank page, so be sure to
have media featured as long as your instance has the 'archivalook'
plugin enabled. A more advanced tool to manage features can be found
- in the{% endtrans %}
- <a href="{{ request.urlgen(
- 'manage-featured-media') }}">
- {% trans %}feature management panel.{% endtrans %}</a>
+ in the <a href="{{ featured_media_url }}">feature management panel.</a>
+ {%- endtrans %}
+ </a>
</div>
</div>
{%- endif %}