forked from gergely/calendar-social
Use the event UUID as the event identifier in URLs
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
<td class="{% if day.month != calendar.timestamp.month %} other-month{% endif %}{% if day.date() == now.date() %} today{% endif %}">
|
||||
<span class="day-num">{{ day.day }}</span>
|
||||
{% for event in calendar.day_events(day, user=current_user) %}
|
||||
<a href="{{ url_for('event_details', event_id=event.id) }}" class="event">
|
||||
<a href="{{ url_for('event_details', event_uuid=event.event_uuid) }}" class="event">
|
||||
{{ event.start_time_for_user(current_user).strftime('%H:%M') }}–{{ event.end_time_for_user(current_user).strftime('%H:%M') }}
|
||||
{{ event.title }}
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user