diff options
author | Leah Velleman <leah.velleman@gmail.com> | 2016-06-20 22:08:55 -0400 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2016-06-20 22:16:53 -0500 |
commit | ee828f42c518fd6d0b1fb5d66c3c5fb3d44d885e (patch) | |
tree | 0bb41a1e967d9a07436a0e5b9165ed679454ef30 | |
parent | 1b009a815ab2a4c50f1011d7d07f9b2088147c45 (diff) | |
download | mediagoblin-ee828f42c518fd6d0b1fb5d66c3c5fb3d44d885e.tar.lz mediagoblin-ee828f42c518fd6d0b1fb5d66c3c5fb3d44d885e.tar.xz mediagoblin-ee828f42c518fd6d0b1fb5d66c3c5fb3d44d885e.zip |
use is_rtl variable to detect rtl locales
-rw-r--r-- | mediagoblin/templates/mediagoblin/utils/prev_next.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/utils/prev_next.html b/mediagoblin/templates/mediagoblin/utils/prev_next.html index 1570cf52..fc8672fb 100644 --- a/mediagoblin/templates/mediagoblin/utils/prev_next.html +++ b/mediagoblin/templates/mediagoblin/utils/prev_next.html @@ -19,7 +19,7 @@ {# Provide navigation links to neighboring media entries, if possible #} {% set prev_entry_url = media.url_to_prev(request.urlgen) %} {% set next_entry_url = media.url_to_next(request.urlgen) %} -{% if request.locale.startswith("fa") or request.locale.startswith("ar") %} +{% if is_rtl %} {% set next_arrow = "→" %} {% set prev_arrow = "←" %} {% else %} |