FEATURE: Create logs for Group Moderator changes (#10271)

This commit is contained in:
jbrw
2020-07-21 14:29:02 -04:00
committed by GitHub
parent 549c552402
commit 0ed784b4fc
10 changed files with 135 additions and 2 deletions
@@ -47,10 +47,14 @@ const StaffActionLog = RestModel.extend({
? `<a href data-link-post-id="${postId}">${postId}</a>`
: null;
const topicLink = topicId
? `<a href data-link-topic-id="${topicId}">${topicId}</a>`
: null;
let lines = [
format("email", email),
format("admin.logs.ip_address", ipAddress),
format("admin.logs.topic_id", topicId),
format("admin.logs.topic_id", topicLink, false),
format("admin.logs.post_id", postLink, false),
format("admin.logs.category_id", categoryId)
];