debian-mirror-gitlab/app/views/shared/members/update.js.haml

7 lines
300 B
Text
Raw Normal View History

2018-03-27 19:54:05 +05:30
- member = local_assigns.fetch(:member)
:plain
var $listItem = $('#{escape_javascript(render('shared/members/member', member: member))}');
$("##{dom_id(member)} .list-item-name").replaceWith($listItem.find('.list-item-name'));
gl.utils.localTimeAgo($('.js-timeago'), $("##{dom_id(member)}"));