{% if format == "doc" %} {% set title = t('Todos os Documentários') %} {% elif format == "fic" %} {% set title = t('Todos os Filmes') %} {% elif format == "series" %} {% set title = t('Todas as Séries') %} {% elif format == "country" %} {% set country = '0' %} {% for w in watch %} {% if loop.first%} {% set country = w.location.country.name %} {% endif %} {% endfor %} {% set title = t('Todas as obras do ') + t(country) %} {% elif format == "duration" %} {% set title = t('Obras com duração até') + ' ' + t(duration) + ' ' + t('minutos') %} {% elif format == "category" %} {% set title = t(categories[0].title) %} {% endif %} {% extends 'layouts/layout.html' %} {% block body %}
{% if messages.success %} {% endif %} {% if messages.error %} {% endif %} {% if messages.info %} {% endif %}

{% if title == "Início" %} Adicionados recentemente {% elseif tag %} Tag: {{tag}} {% endif %}

{% if watch == "" %}


Nada encontrado com o formato: {{ format }}

{% endif %} {% for c in categories %} {% set catCounter = 0 %} {% for w in watch %} {% for cat in w.categories %} {% if cat == c.nid %} {% set catCounter = loop.length %} {% endif %} {% endfor %} {% endfor %} {% if (catCounter > 0) %}

{{ c.title }}

{% endif %} {% if (catCounter > 0) %}
{% endif -%} {% endfor -%}
{% endblock %}