feat: make timestamp nicer
This commit is contained in:
parent
0b08647c7e
commit
4358d37f37
@ -1,4 +1,4 @@
|
|||||||
{% load custom_tags %}
|
{% load custom_tags %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<div class="comment">
|
<div class="comment">
|
||||||
<div class="comment-header">
|
<div class="comment-header">
|
||||||
<b>{{ comment.user }}</b>
|
<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>
|
<a class="adoption-card-report-link" href="{{ comment.get_report_url }}"><i class="fa-solid fa-flag"></i></a>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<div class="notification">
|
<div class="notification">
|
||||||
<div class="notification-header">
|
<div class="notification-header">
|
||||||
<a href="{{ notification.url }}" ><b>{{ notification.title }}</b></a>
|
<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">
|
<form class="notification-card-mark-read" method="POST">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input type="hidden" name="action" value="notification_mark_read">
|
<input type="hidden" name="action" value="notification_mark_read">
|
||||||
|
Loading…
Reference in New Issue
Block a user