From 7d53b778de7fa1f0e939ad98c498fa4a1b245846 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 13 Sep 2016 12:02:39 -0400 Subject: [PATCH] WIP extending flags management interface with new options for state, assignee, notes, etc --- public/language/en_GB/topic.json | 12 +++ src/views/admin/manage/flags.tpl | 138 ++++++++++++++++++++----------- 2 files changed, 104 insertions(+), 46 deletions(-) diff --git a/public/language/en_GB/topic.json b/public/language/en_GB/topic.json index f177725d56..e38f4b1d84 100644 --- a/public/language/en_GB/topic.json +++ b/public/language/en_GB/topic.json @@ -36,6 +36,18 @@ "flag_title": "Flag this post for moderation", "flag_success": "This post has been flagged for moderation.", + "flag_manage_title": "Flagged post in %1", + "flag_manage_history": "Action History", + "flag_manage_no_history": "No event history to report", + "flag_manage_assignee": "Assignee", + "flag_manage_state": "State", + "flag_manage_state_open": "New/Open", + "flag_manage_state_wip": "Work in Progress", + "flag_manage_state_resolved": "Resolved", + "flag_manage_state_rejected": "Rejected", + "flag_manage_notes": "Shared Notes", + "flag_manage_update": "Update Flag Status", + "deleted_message": "This topic has been deleted. Only users with topic management privileges can see it.", "following_topic.message": "You will now be receiving notifications when somebody posts to this topic.", diff --git a/src/views/admin/manage/flags.tpl b/src/views/admin/manage/flags.tpl index 1bd1726b97..1e12d5c51a 100644 --- a/src/views/admin/manage/flags.tpl +++ b/src/views/admin/manage/flags.tpl @@ -44,7 +44,7 @@
-
+
No flagged posts! @@ -52,54 +52,100 @@ -
-
-
-
- - - - -
{../user.icon:text}
- -
+
+ +
+
+
+
+
+ + + + +
{../user.icon:text}
+ +
- - {../user.username} - -
-

{posts.content}

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

{posts.content}

+
+ + + Posted in {posts.category.name}, • + Read More + + +
+
+
+ This post has been flagged {posts.flags} time(s): +
+ +
+
+ + +
+
+
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
[[topic:flag_manage_history]]
+ +
[[topic:flag_manage_no_history]]
+
- - - Posted in {posts.category.name}, • - Read More - -
-
-
-
- This post has been flagged {posts.flags} time(s): -
- -
-
- -