|
@ -1,5 +1,6 @@ |
|
|
{% extends "base.html" %} |
|
|
{% extends "base.html" %} |
|
|
{% load static %} |
|
|
{% load static %} |
|
|
|
|
|
{% load deadliny %} |
|
|
|
|
|
|
|
|
{% block content %} |
|
|
{% block content %} |
|
|
|
|
|
|
|
@ -62,7 +63,9 @@ $(document).ready(function(){ |
|
|
<p>Řešitelé: {{ object.resitele.all | join:", " }}</p> |
|
|
<p>Řešitelé: {{ object.resitele.all | join:", " }}</p> |
|
|
|
|
|
|
|
|
{# https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model.get_FOO_display #} |
|
|
{# https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model.get_FOO_display #} |
|
|
<p>Forma: {{ object.get_forma_display }}, doručeno {{ object.cas_doruceni }}</p> |
|
|
<p>Forma: {{ object.get_forma_display }}</p> |
|
|
|
|
|
|
|
|
|
|
|
<p>Doručeno {{ object.cas_doruceni }}, deadline: {{object.cas_doruceni | deadline_html }}</p> |
|
|
|
|
|
|
|
|
{# Soubory: #} |
|
|
{# Soubory: #} |
|
|
<h3>Přílohy:</h3> |
|
|
<h3>Přílohy:</h3> |
|
|