{% load i18n %} {% load bootstrap_tags %} {% if page_reload %}

{% trans "Layer Style changed. Redirecting to apply changes..." %}

{% trans "You may also use browser reload." %}

{% else %} {% for style in resource.qgis_layer.styles.all %} {% endfor %}
{% trans "Name" %} {% trans "Title" %} {% trans "Action" %}
{{ style.name|safe }} {% if resource.qgis_layer.default_style.name == style.name %} (default style) {% endif %} {{ style.title|safe }} {% if resource.qgis_layer.default_style.name != style.name %} {% endif %} {% trans "Download Style" %}
{% if alert %}
{{ alert_message }} {% if alert_class == 'alert-success' %}
{% trans "Reload to see changes" %} {% endif %}
{% endif %}
{% csrf_token %} {{ style_upload_form|as_bootstrap }}
{% endif %}