feat: make timestamp nicer

This commit is contained in:
moanos [he/him] 2024-08-03 09:05:57 +02:00
parent 0b08647c7e
commit 4358d37f37
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{% load custom_tags %}
{% load custom_tags %}
{% load i18n %}
<div class="card">

View File

@ -3,7 +3,7 @@
<div class="comment">
<div class="comment-header">
<b>{{ comment.user }}</b>
{{ comment.created_at }}
<i class="card-timestamp">{{ comment.created_at }}</i>
<a class="adoption-card-report-link" href="{{ comment.get_report_url }}"><i class="fa-solid fa-flag"></i></a>
</div>
<p>

View File

@ -3,7 +3,7 @@
<div class="notification">
<div class="notification-header">
<a href="{{ notification.url }}" ><b>{{ notification.title }}</b></a>
{{ notification.created_at }}
<i class="card-timestamp">{{ notification.created_at }}</i>
<form class="notification-card-mark-read" method="POST">
{% csrf_token %}
<input type="hidden" name="action" value="notification_mark_read">