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-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'>

View File

@ -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}}

View File

@ -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;