From d1e8431de87694c0bbed551b00c653cee34bda0c Mon Sep 17 00:00:00 2001
From: Leah Velleman <leah.velleman@gmail.com>
Date: Mon, 20 Jun 2016 22:08:55 -0400
Subject: [PATCH 2/2] use is_rtl variable to detect rtl locales
---
mediagoblin/templates/mediagoblin/utils/prev_next.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mediagoblin/templates/mediagoblin/utils/prev_next.html b/mediagoblin/templates/mediagoblin/utils/prev_next.html
index 1570cf5..44afb1a 100644
a
|
b
|
|
19 | 19 | {# Provide navigation links to neighboring media entries, if possible #} |
20 | 20 | {% set prev_entry_url = media.url_to_prev(request.urlgen) %} |
21 | 21 | {% set next_entry_url = media.url_to_next(request.urlgen) %} |
22 | | {% if request.locale.startswith("fa") or request.locale.startswith("ar") %} |
| 22 | {% if is_rtl %} |
23 | 23 | {% set next_arrow = "â" %} |
24 | 24 | {% set prev_arrow = "â" %} |
25 | 25 | {% else %} |