Extensibility point for claiming flagged posts

This commit is contained in:
Robin Ward 2018-01-15 13:10:27 -05:00
parent 22849fce96
commit 1080748444
3 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,10 @@
<div class="flagged-post-contents">
<div class='flagged-post-user-details'>
<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 class='flagged-post-excerpt'>

View File

@ -5,6 +5,7 @@
{{flagged-post
flaggedPost=flaggedPost
filter=filter
topic=topic
showResolvedBy=showResolvedBy
removePost=(action "removePost" flaggedPost)
hideTitle=topic}}

View File

@ -43,6 +43,9 @@
word-wrap: break-word;
.flagged-post-user-details {
display: flex;
justify-content: space-between;
.username {
font-weight: bold;
color: $primary;