diff --git a/public/less/admin/manage/flags.less b/public/less/admin/manage/flags.less index 8b13789179..504767e934 100644 --- a/public/less/admin/manage/flags.less +++ b/public/less/admin/manage/flags.less @@ -1 +1,22 @@ +.flag-reporters { + font-size: 1.2rem; + ul { + padding-left: 0; + + li { + list-style-type: none; + + img, .user-icon { + .user-icon-style(18px, 1rem); + margin-right: 1rem; + } + } + } +} + +.flag-post-body { + img, .user-icon { + .user-icon-style(24px, 1.5rem); + } +} \ No newline at end of file diff --git a/public/src/admin/manage/flags.js b/public/src/admin/manage/flags.js index a7943784af..b76ccf1708 100644 --- a/public/src/admin/manage/flags.js +++ b/public/src/admin/manage/flags.js @@ -40,7 +40,7 @@ define('admin/manage/flags', [ return app.alertError(err.message); } - $('.post-container').empty().text('No flagged posts!'); + ajaxify.refresh(); }); }); } diff --git a/src/views/admin/manage/flags.tpl b/src/views/admin/manage/flags.tpl index 6557f5f6a3..c66bc2573a 100644 --- a/src/views/admin/manage/flags.tpl +++ b/src/views/admin/manage/flags.tpl @@ -30,42 +30,63 @@
- No flagged posts! +
+ No flagged posts! +
-
-
-
- - - +
+
+
+
+ + + + +
{../user.icon:text}
+ +
- - {posts.user.username} - -
-

{posts.content}

-

+ + {../user.username} + +
+

{posts.content}

+

+
+ + + Posted in {posts.category.name}, • + Read More + +
- - - Posted in {posts.category.name}, • - Read More - -
- - {posts.flags} -
- - {../user.username}: "{../reason}"
- -
- - -

+
+ This post has been flagged {posts.flags} time(s): +
+ +
+
+ + +
+