Skip to content

Commit

Permalink
Add computer in room session.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiarn committed Apr 18, 2024
1 parent 04c97ac commit 5596103
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -140,6 +140,9 @@ angular.module('lmn.session_new').controller 'LMNSessionController', ($scope, $h
if resp.data.usersList.length != 0
$http.post("/api/lmn/session/userinfo", {users:resp.data.usersList}).then (rp) ->
$scope.session.members = rp.data
for userDetails in $scope.session.members
user = userDetails.cn
userDetails.computer = resp.data.objects[user].COMPUTER

$scope.stopRefreshParticipants = () ->
if $scope.refresh_participants != undefined
Expand Down
Expand Up @@ -176,6 +176,7 @@
</tr>
<tr style="display:;" ng:repeat="participant in session.members|orderBy:[sort.fx]">
<td class="ng-binding">
<span ng:if="participant.computer" class="label label-success pull-right">{{participant.computer}}</span>
<a>
<b> {{participant.sn}}, {{participant.givenName}} </b>
</a>
Expand Down

0 comments on commit 5596103

Please sign in to comment.