Fix Special Day View

This commit is contained in:
Kekskurse 2019-07-07 14:16:11 +02:00
parent 57645d025b
commit 8becab4dc9
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ def function_speacialDays(number):
for r in res:
day = {}
day["day"] = str(r[0])+"."+str(r[1])+"."+str(r[2])
day["plan"] = r[3]
day["plan"] = function_getPlanName(r[3])
days.append(day)
return days

View file

@ -187,7 +187,7 @@
{% for day in special_days %}
<tr>
<td> {{ day["day"] }}</td>
<td> {{ day["plan"] }}</td>
<td> {{ day["plan"]["name"] }}</td>
</tr>
{% endfor %}
</table>