mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 09:42:10 +01:00 
			
		
		
		
	Display team solutions
This commit is contained in:
		@@ -40,10 +40,20 @@
 | 
			
		||||
 | 
			
		||||
    <h4>{% trans "Documents" %}</h4>
 | 
			
		||||
 | 
			
		||||
    {% if team.motivation_letters %}
 | 
			
		||||
    {% if team.motivation_letters.count %}
 | 
			
		||||
        <div class="alert alert-info">
 | 
			
		||||
            {% blocktrans with version=team.motivation_letters.count %}Motivation letter (version {{ version }}):{% endblocktrans %}
 | 
			
		||||
            <a href="{{ team.motivation_letters.last.file.url }}">{% trans "Download" %}</a>
 | 
			
		||||
            <strong>{% blocktrans with version=team.motivation_letters.count %}Motivation letter (version {{ version }}):{% endblocktrans %}</strong>
 | 
			
		||||
            <a data-turbolinks="false" href="{% url "member:document" file=team.motivation_letters.last.file %}">{% trans "Download" %}</a>
 | 
			
		||||
        </div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 | 
			
		||||
    {% if team.solutions.count %}
 | 
			
		||||
        <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>
 | 
			
		||||
                {% endfor %}
 | 
			
		||||
            </ul>
 | 
			
		||||
        </div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user