usuniecie zbednego kodu i poprawki
This commit is contained in:
@@ -72,7 +72,6 @@
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Nazwa</th>
|
||||
<th>Dodany przez</th>
|
||||
<th>Akcje</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -82,14 +81,6 @@
|
||||
<tr>
|
||||
<td>{{ suggestion.id }}</td>
|
||||
<td class="fw-bold"><span class="badge bg-primary">{{ suggestion.name }}</span></td>
|
||||
<td>
|
||||
{% set uid = suggestion_added_by_map.get(suggestion.id) %}
|
||||
{% if uid and users_dict.get(uid) %}
|
||||
👤 {{ users_dict[uid] }} ({{ uid }})
|
||||
{% else %}
|
||||
-
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-sm btn-outline-danger delete-suggestion-btn"
|
||||
data-suggestion-id="{{ suggestion.id }}">🗑️ Usuń</button>
|
||||
@@ -112,9 +103,9 @@
|
||||
<form method="get" class="d-flex align-items-center">
|
||||
<label for="per_page" class="me-2">🔢 Pozycji na stronę:</label>
|
||||
<select id="per_page" name="per_page" class="form-select form-select-sm me-2" onchange="this.form.submit()">
|
||||
<option value="25" {% if per_page==100 %}selected{% endif %}>100</option>
|
||||
<option value="50" {% if per_page==200 %}selected{% endif %}>200</option>
|
||||
<option value="100" {% if per_page==300 %}selected{% endif %}>300</option>
|
||||
<option value="100" {% if per_page==100 %}selected{% endif %}>100</option>
|
||||
<option value="200" {% if per_page==200 %}selected{% endif %}>200</option>
|
||||
<option value="300" {% if per_page==300 %}selected{% endif %}>300</option>
|
||||
</select>
|
||||
<input type="hidden" name="page" value="{{ page }}">
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user