mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-09 01:26:24 +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>
|
||||||
</div>
|
</div>
|
||||||
<p class="actions">
|
<p class="actions">
|
||||||
{followedBy ? (
|
<span>
|
||||||
<span class="tag">Following you</span>
|
{followedBy ? (
|
||||||
) : !!lastStatusAt ? (
|
<span class="tag">Following you</span>
|
||||||
<small class="insignificant">
|
) : !!lastStatusAt ? (
|
||||||
Last post:{' '}
|
<small class="insignificant">
|
||||||
{niceDateTime(lastStatusAt, {
|
Last post:{' '}
|
||||||
hideTime: true,
|
{niceDateTime(lastStatusAt, {
|
||||||
})}
|
hideTime: true,
|
||||||
</small>
|
})}
|
||||||
) : (
|
</small>
|
||||||
<span />
|
) : (
|
||||||
)}{' '}
|
<span />
|
||||||
|
)}
|
||||||
|
{muting && <span class="tag danger">Muted</span>}
|
||||||
|
{blocking && <span class="tag danger">Blocked</span>}
|
||||||
|
</span>{' '}
|
||||||
<span class="buttons">
|
<span class="buttons">
|
||||||
<Menu
|
<Menu
|
||||||
instanceRef={menuInstanceRef}
|
instanceRef={menuInstanceRef}
|
||||||
|
|
Loading…
Reference in a new issue