Skip to content

Commit

Permalink
tweak the appearance of the navbar's language dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Apr 19, 2018
1 parent 218eb4d commit 692ae9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/navbar-common.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
% for l_completion, l_code, l_name, l_url in website.lang_list
<li {% if l_code == locale.language %} class="active" {% endif %}
><a href="{{ l_url }}{{ request.line.uri }}" rel="alternate" hreflang="{{ l_code }}"
>{{ _("{0} ({1} complete)", l_name, format_percent(l_completion)) }}</a></li>
>{{ l_name }}{% if l_completion <= 0.99 %} &nbsp; <small>{{
_("({x_percent} translated)", x_percent=format_percent(l_completion))
}}</small>{% endif %}</a></li>
% endfor
<li role="separator" class="divider"></li>
<li><a href="https://hosted.weblate.org/engage/liberapay/?utm_source=liberapay-navbar"
Expand Down

0 comments on commit 692ae9e

Please sign in to comment.