mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 08:41:00 +00:00
Show time-since next to 'XYZ boosted' on the home timeline. (#93)
This commit is contained in:
parent
8835fdee6b
commit
50868971f7
2 changed files with 11 additions and 0 deletions
|
@ -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 a new issue