{% extends 'iconolab/user_base.html' %}

{% load thumbnail %}

{% block user_content %}
  <h2>Administration de Fonds</h2>
  {% for collection in profile_user.profile.managed_collections.all %}
  <div class="panel panel-default">
    <div class="panel-body">
      {% thumbnail collection.image "100x100" crop="center" as img %}
        <a class="pull-left" href="{% url 'user_admin_panel' collection.name %}" style="margin-right: 15px;">
          <img src="{{ img.url }}" class="img-responsive">
        </a>
      {% endthumbnail %}
      <h4 class="pull-left">{{collection.verbose_name}}</h4>
      <a href="{% url 'user_admin_panel' collection.name %}" class="btn btn-default pull-right">Tableau de bord</a>
    </div>
  </div>
  <div class="row">
    <div class="col-md-3">
    </div>
    <div class="col-md-9">
    </div>
  </div>
  {% endfor %}
{% endblock %}
