fixed some issues with profile and events

This commit is contained in:
2025-05-29 22:40:59 +02:00
parent 8f24e21d5d
commit 37fcc5f34c
7 changed files with 79 additions and 18 deletions

View File

@@ -42,7 +42,7 @@
<select id="userFilter" class="form-select form-select-sm">
<option value="">All Users</option>
{% for user in users %}
<option value="{{ user.id }}">{{ user.username }}</option>
<option value="{{ user.id }}">{{ user.username }} {{ user.last_name }}</option>
{% endfor %}
</select>
<button id="applyFilters" class="btn btn-primary btn-sm">Apply Filters</button>
@@ -122,7 +122,7 @@
<span class="badge bg-secondary">{{ event.event_type }}</span>
{% endif %}
</td>
<td>{{ event.user.username if event.user else 'Unknown' }}</td>
<td>{{ event.user.username }} {{ event.user.last_name if event.user else 'Unknown' }}</td>
<td>
<button class="btn btn-sm btn-outline-secondary"
data-bs-toggle="modal"