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

{% block add-snipt %}
  <li class="add-snipt">
    <button class="btn btn-info btn-large" id="add-snipt">
      Add {% if request.user.username == 'blog' %}Post{% else %}Snipt{% endif %}
      <i class="icon-search icon-plus icon-white"></i>
    </button>
  </li>
{% 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 %}
    <li class="rss">
        <a href="{{ request.path }}?rss">RSS</a>
    </li>
    {% 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 %}
