mamweb/korektury/templates/korektury/seznam.html

35 lines
897 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% load staticfiles %}
{% block script%}
<link rel="stylesheet" type="text/css" media="screen, projection" href="{% static "korektury/opraf-list.css" %}" />
{% endblock %}
2015-12-09 15:42:25 +01:00
{% block content %}
<h1>
{% block nadpis1a %}
2015-12-29 15:37:57 +01:00
{% block title %}
2015-12-09 15:42:25 +01:00
Korektury
2015-12-29 15:37:57 +01:00
{% endblock title %}
2015-12-09 15:42:25 +01:00
{% endblock nadpis1a %}
</h1>
<ul>
{% for pdf in object_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>
2015-12-09 15:42:25 +01:00
{% empty %}
<li> Nejsou žádné dokumenty ke korekturování.
2015-12-09 15:42:25 +01:00
{% endfor %}
</ul>
{% endblock content %}