Add: tooltip to date fields
This commit is contained in:
parent
b6bfa35afa
commit
c804af484e
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@
|
|||
<th>URL:<span class="ms-1 text-primary">↕</span></th>
|
||||
<th>Category:<span class="ms-1 text-primary">↕</span></th>
|
||||
<th>Added On:<span class="ms-1 text-primary">↕</span></th>
|
||||
<th>Last Imported/Scaned:<span class="ms-1 text-primary">↕</span></th>
|
||||
<th data-bs-toggle="tooltip" title="Last Imported/Scaned">Imported:<span class="ms-1 text-primary">↕</span></th>
|
||||
{% if user.is_superuser or user.is_staff %}
|
||||
<th>Added By:<span class="ms-1 text-primary">↕</span></th>
|
||||
{% endif %}
|
||||
|
@ -44,8 +44,8 @@
|
|||
<tr id="C-{{ url.pk }}">
|
||||
<td>{{ url.url }}</td>
|
||||
<td>{{ url.category }}</td>
|
||||
<td data-timestamp="{{ url.date_added|date:'U' }}">{{ url.date_added|date:'Y-m-d H:i' }}</td>
|
||||
<td data-timestamp="{{ url.last_imported|date:'U' }}">{{ url.last_imported|date:'Y-m-d H:i' }}</td>
|
||||
<td data-timestamp="{{ url.date_added|date:'U' }}" data-bs-toggle="tooltip" title="{{ url.date_added|date:'Y-m-d H:i' }}">{{ url.date_added|date:'Y-m-d' }}</td>
|
||||
<td data-timestamp="{{ url.last_imported|date:'U' }}" data-bs-toggle="tooltip" title="{{ url.last_imported|date:'Y-m-d H:i' }}">{{ url.last_imported|date:'Y-m-d' }}</td>
|
||||
{% if user.is_superuser or user.is_staff %}
|
||||
<td>{{ url.added_by_user|capfirst }}</td>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue