Feature: иконки карандаш и красный крестик вместо надписей Изменить/Удалить в списках
Made-with: Cursor
This commit is contained in:
@@ -28,9 +28,8 @@
|
||||
<td>{{ obj.recipient }}</td>
|
||||
<td class="ws-num">{{ obj.amount|ws_num:2 }}</td>
|
||||
<td class="ws-actions">
|
||||
<a href="{% url 'documents:cash_transfer_edit' obj.pk %}" class="ws-link">Изменить</a>
|
||||
<span class="ws-text-muted"> · </span>
|
||||
<a href="{% url 'documents:cash_transfer_delete' obj.pk %}" class="ws-link ws-link-danger">Удалить</a>
|
||||
<a href="{% url 'documents:cash_transfer_edit' obj.pk %}" class="ws-link ws-btn-icon-edit" title="Изменить" aria-label="Изменить"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg></a>
|
||||
<a href="{% url 'documents:cash_transfer_delete' obj.pk %}" class="ws-link ws-link-danger ws-btn-icon-delete" title="Удалить" aria-label="Удалить"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></a>
|
||||
</td>
|
||||
</tr>
|
||||
{% empty %}
|
||||
|
||||
Reference in New Issue
Block a user