1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 17:58:24 +02:00

Profile list

This commit is contained in:
Yohann D'ANELLO
2020-04-30 21:07:12 +02:00
parent f70f6f16f0
commit 03f47f996b
8 changed files with 124 additions and 52 deletions

View File

@ -0,0 +1,7 @@
{% extends "base.html" %}
{% load django_tables2 %}
{% block content %}
{% render_table table %}
{% endblock %}

View File

@ -51,9 +51,15 @@
<div class="alert alert-info">
<ul>
{% for solution in team.solutions.all %}
<li><strong>{{ solution }} :</strong> <a data-turbolinks="false" href="{% url "member:document" file=solution.file %}">{% trans "Download" %}</a></li>
<li><strong>{{ solution }} :</strong> <a data-turbolinks="false" href="{% url "document" file=solution.file %}">{% trans "Download" %}</a></li>
{% endfor %}
</ul>
</div>
<div class="text-center">
<form method="post">
{% csrf_token %}
<button class="btn btn-success" name="zip">{% trans "Download solutions as ZIP" %}</button>
</form>
</div>
{% endif %}
{% endblock %}