Zobrazení deadlinu doručení
This commit is contained in:
parent
70c3ec8b6c
commit
08e31a849c
1 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue