mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-13 01:12:04 +02:00
feat(users): show user signature in forum topic and replies
This commit is contained in:
@@ -78,6 +78,7 @@
|
||||
forumId: $stateParams.forumId,
|
||||
topicId: $stateParams.topicId
|
||||
}, function (topic) {
|
||||
mtDebug.info(topic);
|
||||
vm.topic = topic;
|
||||
vm.buildPager();
|
||||
|
||||
@@ -96,6 +97,17 @@
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* getUserSignatureMarked
|
||||
* @param u
|
||||
* @returns {*}
|
||||
*/
|
||||
vm.getUserSignatureMarked = function (u) {
|
||||
if (u) {
|
||||
return marked(u.signature, {sanitize: true});
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* getUserScoreLevel
|
||||
* @param u
|
||||
|
||||
Reference in New Issue
Block a user