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;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.boost-banner time {
|
||||||
|
float: right;
|
||||||
|
display: block;
|
||||||
|
color: var(--color-text-duller);
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
.mention-banner::before {
|
.mention-banner::before {
|
||||||
content: "\0040";
|
content: "\0040";
|
||||||
font: var(--fa-font-solid);
|
font: var(--fa-font-solid);
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
{% load activity_tags %}
|
||||||
|
|
||||||
{% block title %}Home{% endblock %}
|
{% block title %}Home{% endblock %}
|
||||||
|
|
||||||
@ -11,6 +12,9 @@
|
|||||||
<a href="{{ event.subject_identity.urls.view }}">
|
<a href="{{ event.subject_identity.urls.view }}">
|
||||||
{{ event.subject_identity.name_or_handle }}
|
{{ event.subject_identity.name_or_handle }}
|
||||||
</a> boosted
|
</a> boosted
|
||||||
|
<time>
|
||||||
|
{{ event.subject_post_interaction.published | timedeltashort }} ago
|
||||||
|
</time>
|
||||||
</div>
|
</div>
|
||||||
{% include "activities/_post.html" with post=event.subject_post %}
|
{% include "activities/_post.html" with post=event.subject_post %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user