{% load i18n %} {% load lfc_tags %} {% ifhasperm edit %} {% if parent_for_portlets %}

{% trans 'Blocked parent slots' %}

{% for slot in slots.items %} {% endfor %}
{% trans "Blocked" %} {% trans "Slot" %}
{{ slot.name }}
{% endif %}

{% trans 'Slots' %}

{% for slot in slots.items %}

{% trans 'Slot' %}: {{ slot.name }}

{% if slot.portlets %} {% for portlet in slot.portlets %} {% endfor %}
{% trans 'Type' %} {% trans 'Title' %} {% trans 'Manage' %}
{{ portlet.type }} {{ portlet.title }}
{% else %}

{% trans 'There are no portlets assigend' %}

{% endif %} {% endfor %}

{% trans 'Add new portlet' %}

{% else %} {% if parent_for_portlets %}

{% trans 'Blocked parent slots' %}

{% for slot in slots.items %} {% endfor %}
{% trans "Slot" %} {% trans "Blocked" %}
{{ slot.name }} {% if slot.is_blocked %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %}
{% endif %}

{% trans 'Slots' %}

{% for slot in slots.items %}

{% trans 'Slot' %}: {{ slot.name }}

{% if slot.portlets %} {% for portlet in slot.portlets %} {% endfor %}
{% trans 'Type' %} {% trans 'Title' %}
{{ portlet.type }} {{ portlet.title }}
{% else %}

{% trans 'There are no portlets assigend' %}

{% endif %} {% endfor %} {% endifhasperm %}