{% load i18n %}
{% for url,name,code,status,del_url in language_tabs %} {% if status == 'current' %} {{ name }}{% if current_is_translated and allow_deletion %} {% endif %} {% else %} {{ name }} {% if status == 'available' and allow_deletion %} {% endif %} {% endif %} {% endfor %}