From 10807484442a47201cf241ec8ff249d4cb8f392c Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 15 Jan 2018 13:10:27 -0500 Subject: [PATCH] Extensibility point for claiming flagged posts --- .../javascripts/admin/templates/components/flagged-post.hbs | 4 ++++ .../javascripts/admin/templates/components/flagged-posts.hbs | 1 + app/assets/stylesheets/common/admin/flagging.scss | 3 +++ 3 files changed, 8 insertions(+) diff --git a/app/assets/javascripts/admin/templates/components/flagged-post.hbs b/app/assets/javascripts/admin/templates/components/flagged-post.hbs index 0e7049f10d5..565cde27d1f 100644 --- a/app/assets/javascripts/admin/templates/components/flagged-post.hbs +++ b/app/assets/javascripts/admin/templates/components/flagged-post.hbs @@ -22,6 +22,10 @@
{{format-username flaggedPost.user.username}} + {{plugin-outlet + name="flagged-post-controls" + tagName="" + args=(hash flaggedPost=flaggedPost actableFilter=actableFilter topic=topic)}}
diff --git a/app/assets/javascripts/admin/templates/components/flagged-posts.hbs b/app/assets/javascripts/admin/templates/components/flagged-posts.hbs index a2f60c25875..5f1aab3a86e 100644 --- a/app/assets/javascripts/admin/templates/components/flagged-posts.hbs +++ b/app/assets/javascripts/admin/templates/components/flagged-posts.hbs @@ -5,6 +5,7 @@ {{flagged-post flaggedPost=flaggedPost filter=filter + topic=topic showResolvedBy=showResolvedBy removePost=(action "removePost" flaggedPost) hideTitle=topic}} diff --git a/app/assets/stylesheets/common/admin/flagging.scss b/app/assets/stylesheets/common/admin/flagging.scss index a96baefc77b..298826baad0 100644 --- a/app/assets/stylesheets/common/admin/flagging.scss +++ b/app/assets/stylesheets/common/admin/flagging.scss @@ -43,6 +43,9 @@ word-wrap: break-word; .flagged-post-user-details { + display: flex; + justify-content: space-between; + .username { font-weight: bold; color: $primary;