Browse Source

mini

master
corbreedy 4 years ago
parent
commit
137057ac94
  1. 2
      hpst/templates/termine_schnipp.html
  2. 2
      hpst/views.py

2
hpst/templates/termine_schnipp.html

@ -10,7 +10,7 @@
<a href="{% url 'termin' te.id %}" style="text-decoration: none;">
<li class="w3-padding-16">
<img src="{% static te.bild %}" alt="Image" class="w3-left w3-margin-right" style="width:50px">
<span class="w3-text-grey">{{ te.date|deutschesdatum }}</span>
<span class="w3-text-grey">{{ te.date|deutschesdatum }}{% if te.end_date %} bis {{te.end_date|deutschesdatum}}{% endif %}</span>
<br>
<span class="w3-large">{{te.titel}}</span>
<br>

2
hpst/views.py

@ -119,7 +119,7 @@ def termin(request,tid):
if(termin.uhrzeit==datetime.time(0)):termin.showuhrzeit=False
else:termin.showuhrzeit=True
print(termin.uhrzeit)
#print(termin.uhrzeit)
context ={
"termin":termin,
"error":error,

Loading…
Cancel
Save