fix thumbnail issues + some cleanup
[redakcja.git] / apps / organizations / templates / organizations / user_card.html
1 {% extends "catalogue/base.html" %}
2 {% load i18n %}
3 {% load document_list from document_list %}
4 {% load thumbnail %}
5
6 {% block inner_content %}
7
8     {% if card.user.pk == request.user.pk %}
9     <a style="float:right" class="btn btn-default" href="{% url 'organizations_user_edit' %}">{% trans "Edit" %}</a>
10     {% endif %}
11
12     {% include "organizations/snippets/user.html" with org=card %}
13
14     <h2>{% trans "Resources" %}</h2>
15     {% document_list user=card.user.pk %}
16
17
18
19 {% endblock %}