Commit 45b06ba6b2b1c2a2021cdccbf634d7fabfabc98c
Committed by
Luciano Prestes
1 parent
772b9f4e
Exists in
master
and in
51 other branches
Fixing ordering names translations in colab-theme
Signed-off-by: Alexandre Barbosa <alexandreab@live.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html
@@ -63,9 +63,9 @@ | @@ -63,9 +63,9 @@ | ||
63 | <select name="order" id="order_option" onchange="this.form.submit()"> | 63 | <select name="order" id="order_option" onchange="this.form.submit()"> |
64 | {% for option, dict_order in order_data.items %} | 64 | {% for option, dict_order in order_data.items %} |
65 | {% ifequal request.GET.order option %} | 65 | {% ifequal request.GET.order option %} |
66 | - <option value="{{option}}" selected>{% trans option %}</option> | 66 | + <option value="{{option}}" selected>{% trans dict_order.name %}</option> |
67 | {% else %} | 67 | {% else %} |
68 | - <option value="{{option}}">{% trans option %}</option> | 68 | + <option value="{{option}}">{% trans dict_order.name %}</option> |
69 | {% endifequal %} | 69 | {% endifequal %} |
70 | {% endfor %} | 70 | {% endfor %} |
71 | </select> | 71 | </select> |