Jonas Havelka
3 years ago
4 changed files with 53 additions and 0 deletions
@ -0,0 +1,39 @@ |
|||||
|
{% extends "base.html" %} |
||||
|
{% load staticfiles %} |
||||
|
|
||||
|
{% block script%} |
||||
|
<link rel="stylesheet" type="text/css" media="screen, projection" href="{% static "korektury/opraf-list.css" %}" /> |
||||
|
{% endblock %} |
||||
|
|
||||
|
{% block content %} |
||||
|
|
||||
|
<h1> |
||||
|
{% block nadpis1a %} |
||||
|
{% block title %} |
||||
|
Korektury |
||||
|
{% endblock title %} |
||||
|
{% endblock nadpis1a %} |
||||
|
</h1> |
||||
|
|
||||
|
{% regroup object_list by cislo_a_tema as seskupeny_list %} |
||||
|
|
||||
|
{% for skupina in seskupeny_list %} |
||||
|
{{ skupina.grouper }} |
||||
|
<ul> |
||||
|
{% for pdf in skupina.list %} |
||||
|
<li><span {% if pdf.status == 'zanaseni'%} class="comitting-text" {% elif pdf.status == 'zastarale' %} class="deprecated-text" {% endif %}> |
||||
|
<b>{{ pdf.nazev }}</b> |
||||
|
<i>{{pdf.komentar}}</i> |
||||
|
<a href="/korektury/{{pdf.id}}">{{pdf.pdf.name}}</a> |
||||
|
(k opravě: {{pdf.k_oprave_cnt}}, |
||||
|
opraveno: {{pdf.opraveno_cnt}}, |
||||
|
není chyba: {{pdf.neni_chyba_cnt}}, |
||||
|
k zanesení: {{pdf.k_zaneseni_cnt}}) </span> </li> |
||||
|
{% empty %} |
||||
|
<li> Nejsou žádné dokumenty ke korekturování. |
||||
|
{% endfor %} |
||||
|
</ul> |
||||
|
{% endfor %} |
||||
|
|
||||
|
|
||||
|
{% endblock content %} |
Loading…
Reference in new issue