mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-03 06:55:03 +03:00
14 lines
583 B
JavaScript
14 lines
583 B
JavaScript
(function($) {
|
|
"use strict";
|
|
|
|
ls.stream.options.elements.userItem = function (element) {
|
|
return $('<li id="' + ls.stream.options.selectors.activityBlockUsersItemId + element.uid + '">' +
|
|
'<input type="checkbox" ' +
|
|
'class="input-checkbox" ' +
|
|
'data-user-id="' + element.uid + '" ' +
|
|
'checked="checked" /> ' +
|
|
'<a href="' + element.user_web_path + '"><img src="' + element.user_avatar_48 + '" /></a> ' +
|
|
'<a href="' + element.user_web_path + '">' + element.user_login + '</a>' +
|
|
'</li>');
|
|
}
|
|
})(jQuery); |