FEATURE: Create logs for Group Moderator changes (#10271)
This commit is contained in:
@@ -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)
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user