mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add sticky and closed
This commit is contained in:
@@ -736,7 +736,21 @@ const Thread = () => {
|
||||
<button id="reply-button" style={{ all: 'unset', cursor: 'pointer' }} onClick={() => {
|
||||
setIsReplyOpen(true); setSelectedParentCid(comment.cid); setSelectedShortCid(comment.shortCid);
|
||||
}} title="Reply to this post">{comment.shortCid}</button>
|
||||
</span>
|
||||
</span>
|
||||
{comment.pinned ? (
|
||||
<>
|
||||
|
||||
<img src="assets/sticky.gif" alt="Sticky" title="Sticky"
|
||||
style={{marginBottom: "-3px"}} />
|
||||
</>
|
||||
) : null}
|
||||
{comment.locked ? (
|
||||
<>
|
||||
|
||||
<img src="assets/closed.gif" alt="Closed" title="Closed"
|
||||
style={{marginBottom: "-3px"}} />
|
||||
</>
|
||||
) : null}
|
||||
<PostMenu
|
||||
key={`pmb-${index}`}
|
||||
title="Post menu"
|
||||
|
||||
Reference in New Issue
Block a user