17 lines
431 B
HTML
17 lines
431 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
{% if files %}
|
|
<div>
|
|
{% for file in files %}
|
|
<p>| <a href="{{ url_for('download', id=file.id)}}">{{ file.name }}</a>, {{ file.user.username }} |</p>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<div>
|
|
{% for user in users %}
|
|
<a href="{{ url_for('viewAdmin', id = user.id) }}">{{ user.username }}{{ dico['termSFolder'] }}</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %} |