Fix Special Day View
This commit is contained in:
parent
57645d025b
commit
8becab4dc9
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ def function_speacialDays(number):
|
||||||
for r in res:
|
for r in res:
|
||||||
day = {}
|
day = {}
|
||||||
day["day"] = str(r[0])+"."+str(r[1])+"."+str(r[2])
|
day["day"] = str(r[0])+"."+str(r[1])+"."+str(r[2])
|
||||||
day["plan"] = r[3]
|
day["plan"] = function_getPlanName(r[3])
|
||||||
days.append(day)
|
days.append(day)
|
||||||
return days
|
return days
|
||||||
|
|
||||||
|
|
|
@ -187,7 +187,7 @@
|
||||||
{% for day in special_days %}
|
{% for day in special_days %}
|
||||||
<tr>
|
<tr>
|
||||||
<td> {{ day["day"] }}</td>
|
<td> {{ day["day"] }}</td>
|
||||||
<td> {{ day["plan"] }}</td>
|
<td> {{ day["plan"]["name"] }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue