bodydiff
This commit is contained in:
parent
b25c04bf42
commit
8e25a2eb4f
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
<ul>
|
||||
{% for resitel in resitele %}
|
||||
<li>{{ resitel.jmeno }} {{ resitel.tbody - resitel.fbody }}</li>
|
||||
<li>{{ resitel.jmeno }}: {{ bodydiff }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -385,7 +385,7 @@ class OdmenyView(generic.TemplateView):
|
|||
ftitul = resitel.get_titul(fbody)
|
||||
ttitul = resitel.get_titul(tbody)
|
||||
if probody:
|
||||
outlist.append({'jmeno': resitel.osoba.plne_jmeno(), 'fbody': fbody, 'tbody': tbody, 'ftitul': ftitul, 'ttitul': ttitul})
|
||||
outlist.append({'jmeno': resitel.osoba.plne_jmeno(), 'fbody': fbody, 'tbody': tbody, 'ftitul': ftitul, 'ttitul': ttitul, 'bodydiff': tbody - fbody})
|
||||
else:
|
||||
if ftitul != ttitul:
|
||||
outlist.append({'jmeno': resitel.osoba.plne_jmeno(), 'ftitul': ftitul, 'ttitul': ttitul})
|
||||
|
|
Loading…
Reference in a new issue