{% if profile.name %} {% set title = "Perfil de " + profile.name %} {% else %} {% set title = "Perfil de " + profile.username %} {% endif %} {% extends 'layouts/layout.html' %} {% block opengraph %} {% endblock %} {% block body %}
{% if messages.success %} {% endif %} {% if messages.error %} {% endif %} {% if messages.info %} {% endif %}
{% macro printWatch(w, loop) -%} {% if w.featured == 'true' or w.featured %}
  • {{ w.title | truncate(45) }}

    {{ w.subtitle | truncate(35) }} {% if w.subtitle %}

    {%endif%} {{w.year}} {% if w.classind %} · {{ w.classind }}{% endif %} {% if w.duration %} · {{ w.duration }} {% endif %}

  • {% endif %} {%- endmacro %}
    {{ profile.username }}

    {% if profile.name %} {{ profile.name }} {% else %} {{ profile.username }} {% endif %}

    {% if profile.name %} @{{ profile.username }} {% else %} {% endif %} {% if profile.location %} · {{ profile.location }} {% endif %} {% if profile.website %} · {{ profile.website | replace("https://", "") | replace("http://", "")}} {% endif %}

    {{t('Obras Favoritas')}}

      {% for i in interactions %} {% if i.favorite %} {{ printWatch(i.attachedToWatch, loop) }} {% endif %} {% endfor %}

    {{t('Obras Assistidas')}}

      {% for i in interactions %} {% if i.alreadyWatched %} {{ printWatch(i.attachedToWatch, loop) }} {% endif %} {% endfor %}
    {% endblock %}