Extensibility point for claiming flagged posts
This commit is contained in:
parent
22849fce96
commit
1080748444
|
@ -22,6 +22,10 @@
|
||||||
<div class="flagged-post-contents">
|
<div class="flagged-post-contents">
|
||||||
<div class='flagged-post-user-details'>
|
<div class='flagged-post-user-details'>
|
||||||
<a class='username' href={{user.path}} data-user-card={{flaggedPost.user.username}}>{{format-username flaggedPost.user.username}}</a>
|
<a class='username' href={{user.path}} data-user-card={{flaggedPost.user.username}}>{{format-username flaggedPost.user.username}}</a>
|
||||||
|
{{plugin-outlet
|
||||||
|
name="flagged-post-controls"
|
||||||
|
tagName=""
|
||||||
|
args=(hash flaggedPost=flaggedPost actableFilter=actableFilter topic=topic)}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='flagged-post-excerpt'>
|
<div class='flagged-post-excerpt'>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
{{flagged-post
|
{{flagged-post
|
||||||
flaggedPost=flaggedPost
|
flaggedPost=flaggedPost
|
||||||
filter=filter
|
filter=filter
|
||||||
|
topic=topic
|
||||||
showResolvedBy=showResolvedBy
|
showResolvedBy=showResolvedBy
|
||||||
removePost=(action "removePost" flaggedPost)
|
removePost=(action "removePost" flaggedPost)
|
||||||
hideTitle=topic}}
|
hideTitle=topic}}
|
||||||
|
|
|
@ -43,6 +43,9 @@
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
|
||||||
.flagged-post-user-details {
|
.flagged-post-user-details {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
.username {
|
.username {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: $primary;
|
color: $primary;
|
||||||
|
|
Loading…
Reference in New Issue