mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Show muted/blocked tags on account info
This commit is contained in:
parent
730fba7ad9
commit
33720d9694
1 changed files with 16 additions and 12 deletions
|
@ -524,18 +524,22 @@ function RelatedActions({ info, instance, authenticated }) {
|
|||
</div>
|
||||
</div>
|
||||
<p class="actions">
|
||||
{followedBy ? (
|
||||
<span class="tag">Following you</span>
|
||||
) : !!lastStatusAt ? (
|
||||
<small class="insignificant">
|
||||
Last post:{' '}
|
||||
{niceDateTime(lastStatusAt, {
|
||||
hideTime: true,
|
||||
})}
|
||||
</small>
|
||||
) : (
|
||||
<span />
|
||||
)}{' '}
|
||||
<span>
|
||||
{followedBy ? (
|
||||
<span class="tag">Following you</span>
|
||||
) : !!lastStatusAt ? (
|
||||
<small class="insignificant">
|
||||
Last post:{' '}
|
||||
{niceDateTime(lastStatusAt, {
|
||||
hideTime: true,
|
||||
})}
|
||||
</small>
|
||||
) : (
|
||||
<span />
|
||||
)}
|
||||
{muting && <span class="tag danger">Muted</span>}
|
||||
{blocking && <span class="tag danger">Blocked</span>}
|
||||
</span>{' '}
|
||||
<span class="buttons">
|
||||
<Menu
|
||||
instanceRef={menuInstanceRef}
|
||||
|
|
Loading…
Reference in a new issue