{% if locale_options %} {% if selected_locale %} {% include "shatailadmin/shared/locale_selector.html" with translations=locale_options locale=selected_locale only %} {% else %} {% include "shatailadmin/shared/locale_selector.html" with translations=locale_options
locale=page.locale only %} {% endif %} {% else %}
{% endif %} {% for page in page.get_ancestors.specific %} {% url 'shatailadmin_choose_page_child' page.id as choose_page_child_url %} {% if page.is_root %} {% trans 'Home' as home %}