Show time-since next to 'XYZ boosted' on the home timeline. (#93)
This commit is contained in:
parent
8835fdee6b
commit
50868971f7
|
@ -968,6 +968,13 @@ table.metadata td.name {
|
|||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.boost-banner time {
|
||||
float: right;
|
||||
display: block;
|
||||
color: var(--color-text-duller);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.mention-banner::before {
|
||||
content: "\0040";
|
||||
font: var(--fa-font-solid);
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
{% load activity_tags %}
|
||||
|
||||
{% block title %}Home{% endblock %}
|
||||
|
||||
|
@ -11,6 +12,9 @@
|
|||
<a href="{{ event.subject_identity.urls.view }}">
|
||||
{{ event.subject_identity.name_or_handle }}
|
||||
</a> boosted
|
||||
<time>
|
||||
{{ event.subject_post_interaction.published | timedeltashort }} ago
|
||||
</time>
|
||||
</div>
|
||||
{% include "activities/_post.html" with post=event.subject_post %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue