You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.3 KiB

{% extends "base.html" %}
{% load static %}
{% load deadliny %}
{% block content %}
<h3>Označení deadlinů</h3>
<ul>
<li>Ⓢ deadline pro účast na soustředění</li>
<li>⭯ 1. deadline</li>
<li>✓ 2. deadline</li>
</ul>
<br>
{% for rocnik, hodnoceni in podle_rocniku %}
<h1>Ročník {{ rocnik }}</h1>
<table class="odevzdana_reseni">
<tr>
<th>Doručeno</th>
<th>Problém</th>
<th>Body</th>
<th>Deadline</th>
</tr>
{% for hodn in hodnoceni %}
<tr>
<td><a href="{% url 'odevzdavatko_resitel_reseni' hodn.reseni.id %}">{{ hodn.reseni.cas_doruceni | date:"d.m.Y H:i"}}</a></td>
<td class="problem odevzdanareseni_big"><span title="{{ hodn.problem.nazev }}">{{ hodn.problem.nazev | zkrat_nazev_problemu:76 }}</span></td>
<td class="problem odevzdanareseni_mid"><span title="{{ hodn.problem.nazev }}">{{ hodn.problem.nazev | zkrat_nazev_problemu:50 }}</span></td>
<td class="problem odevzdanareseni_small"><span title="{{ hodn.problem.nazev }}">{{ hodn.problem.nazev | zkrat_nazev_problemu:27 }}</span></td>
<td class="problem odevzdanareseni_mini"><span title="{{ hodn.problem.nazev }}">{{ hodn.problem.nazev | zkrat_nazev_problemu:10 }}</span></td>
<td>{{ hodn.body|default_if_none:"---" }}</td>
<td>{{ hodn.deadline_body | deadline_html }}</td>
</tr>
{% endfor %}
</table>
<br>
{% endfor %}
{% endblock %}