diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-07-29 13:38:59 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-07-29 13:38:59 -0500 |
commit | 97650abd784ba4c2ce902e7d00f7e007479c870f (patch) | |
tree | 06329f7a6e969f4e848d786b43325a5e1e356263 | |
parent | 92ce9c0df92a9cc604305f633caae48b9b6d5d7c (diff) | |
download | mediagoblin-97650abd784ba4c2ce902e7d00f7e007479c870f.tar.lz mediagoblin-97650abd784ba4c2ce902e7d00f7e007479c870f.tar.xz mediagoblin-97650abd784ba4c2ce902e7d00f7e007479c870f.zip |
Avoid "lego translations" on the nothing currently featured strings
This commit sponsored by Vinzenz Vietzke. Thank you!
-rw-r--r-- | mediagoblin/plugins/archivalook/templates/archivalook/root.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/mediagoblin/plugins/archivalook/templates/archivalook/root.html b/mediagoblin/plugins/archivalook/templates/archivalook/root.html index 78876f83..4dbd0f9e 100644 --- a/mediagoblin/plugins/archivalook/templates/archivalook/root.html +++ b/mediagoblin/plugins/archivalook/templates/archivalook/root.html @@ -59,17 +59,19 @@ {%- 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 %} |