Weekday shown for events / Responsive Mainpage

This commit is contained in:
Martin Bauer
2013-11-09 14:54:25 +01:00
parent a6a1620a53
commit 81120ab385
8 changed files with 95 additions and 180 deletions

View File

@@ -135,7 +135,7 @@
{% else %}
<td class="center"> <a href="{{ event.pk }}"> {{ event.title }} </a> </td>
{% endif %}
<td class="center"> {{ event.date | date:"SHORT_DATE_FORMAT" }} </td>
<td class="center"> {{ event.date | date:"D, d.m.y" }} </td>
<td class="center"> {% if event.time %} {{ event.time | time:"H:i" }} {% endif %} </td>
<td class="center"> {% if event.meeting_time %} {{ event.meeting_time | time:"H:i" }} {% endif %} </td>

View File

@@ -55,7 +55,8 @@
{% endif %}
$('.eventButton').tooltip()
$('.infoColumn').tooltip()
$("button.eventButton").click( function (e) {
e.preventDefault();
$(this).removeClass("btn-danger")
@@ -150,7 +151,14 @@
{% for event in events %}
<tr class="eventRow">
<td class="center" > <a href="{{ event.pk }}" > {{ event.title }} </a> </td>
<td class="center infoColumn" > {% if event.location %} {{ event.location }}<br/> {% endif %} {{ event.date | date:"SHORT_DATE_FORMAT" }} </td>
<td class="center">
<div class="infoColumn" title="{% if event.time %} Uhrzeit: {{ event.time | time:"H:i" }} {% endif %}
{% if event.meeting_time %} ( Treffpunkt: {{event.meeting_time | time:"H:i"}} ) {% endif %} ">
{% if event.location %} {{ event.location }} <br/> {% endif %}
{{ event.date | date:"D, d.m.y" }}
</div>
</td>
{% for p in event.participation %}