From 08e31a849ca6926b190e383dce24c210b713725e Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Tue, 30 Mar 2021 23:01:58 +0200 Subject: [PATCH] =?UTF-8?q?Zobrazen=C3=AD=20deadlinu=20doru=C4=8Den=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/templates/seminar/odevzdavatko/detail.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/seminar/templates/seminar/odevzdavatko/detail.html b/seminar/templates/seminar/odevzdavatko/detail.html index dadeff41..14094fb8 100644 --- a/seminar/templates/seminar/odevzdavatko/detail.html +++ b/seminar/templates/seminar/odevzdavatko/detail.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% load static %} +{% load deadliny %} {% block content %} @@ -62,7 +63,9 @@ $(document).ready(function(){

Řešitelé: {{ object.resitele.all | join:", " }}

{# https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model.get_FOO_display #} -

Forma: {{ object.get_forma_display }}, doručeno {{ object.cas_doruceni }}

+

Forma: {{ object.get_forma_display }}

+ +

Doručeno {{ object.cas_doruceni }}, deadline: {{object.cas_doruceni | deadline_html }}

{# Soubory: #}

Přílohy: