向管理员展示被拉黑与屏蔽情况
This commit is contained in:
@@ -343,3 +343,7 @@
|
|||||||
color: white;
|
color: white;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.danger-info {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|||||||
12
src/Flows.js
12
src/Flows.js
@@ -155,6 +155,12 @@ class Reply extends PureComponent {
|
|||||||
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
{info.dangerous_user && (
|
||||||
|
<span className="danger-info"> {info.dangerous_user} </span>
|
||||||
|
)}
|
||||||
|
{info.blocked_count && (
|
||||||
|
<span className="danger-info"> {info.blocked_count} </span>
|
||||||
|
)}
|
||||||
<Time stamp={info.timestamp} short={!do_report} />
|
<Time stamp={info.timestamp} short={!do_report} />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -290,6 +296,12 @@ class FlowItem extends PureComponent {
|
|||||||
onClick={do_block}
|
onClick={do_block}
|
||||||
> 🚫 </span>
|
> 🚫 </span>
|
||||||
)}
|
)}
|
||||||
|
{info.dangerous_user && (
|
||||||
|
<span className="danger-info"> {info.dangerous_user} </span>
|
||||||
|
)}
|
||||||
|
{info.blocked_count && (
|
||||||
|
<span className="danger-info"> {info.blocked_count} </span>
|
||||||
|
)}
|
||||||
{info.cw !== null &&
|
{info.cw !== null &&
|
||||||
(!do_edit_cw || !info.can_del) && (
|
(!do_edit_cw || !info.can_del) && (
|
||||||
<span className="box-header-cw">{info.cw}</span>
|
<span className="box-header-cw">{info.cw}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user