Update Private user attributes
This commit is contained in:
@@ -17,14 +17,14 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for file in files %}
|
||||
<tr data-url="{% url 'abac:file_detail' file_id=file.id %}"> <!-- Add data-url attribute here -->
|
||||
<tr data-url="{% url 'abac:file_detail' file_id=file.id %}">
|
||||
<td>{{ file.name }}</td>
|
||||
<td>{{ file.owner.username }}</td>
|
||||
<td>{{ file.created_at|date:"F d, Y H:i" }}</td>
|
||||
<td>
|
||||
<a href="{{ file.file.url }}" download="{{ file.name }}" class="btn btn-outline-primary btn-sm">
|
||||
<a href="{% url 'abac:download_file' file.id %}" class="btn btn-outline-primary btn-sm">
|
||||
<i class="bi bi-download"></i> Download
|
||||
</a>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% empty %}
|
||||
|
||||
Reference in New Issue
Block a user