{% extends "snipts/list.html" %}

{% block add-snipt %}
  {% include 'add-snipt.html' %}
{% endblock %}

{% block breadcrumb %}
    <li><a href="/{{ user.username }}/">{{ user.username }}</a></li>
    {% if tag %}
        <li><span class="prompt">/</span> <a href="/{{ user.username }}/tag/{{ tag.slug }}/">{{ tag.name }}</a></li>
    {% endif %}
    {% if favorites %}
        <li><span class="prompt">/</span> <a href="/{{ user.username }}/favorites/">Favorited snipts</a></li>
    {% endif %}
    {% if snipts %}
        <li class="compact">
            <a ng-click="$root.account.list_view = 'C'" href>Compact</a>
        </li>
        <li class="normal">
            <a ng-click="$root.account.list_view = 'N'" href>Normal</a>
        </li>
    {% endif %}
{% endblock %}

{% block aside-top %}
    {% include "profile.html" %}
    {% include "snipts/tags-user.html" %}
{% endblock %}
