Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More information via Angularjs #360

Closed
vik0803 opened this issue Apr 23, 2014 · 4 comments
Closed

More information via Angularjs #360

vik0803 opened this issue Apr 23, 2014 · 4 comments

Comments

@vik0803
Copy link

vik0803 commented Apr 23, 2014

Is it possible to get chat owner in the activetab list so that a coworker is aware that this chat is handled by whom.

If you can guide that will be great help.

@remdex
Copy link
Contributor

remdex commented Apr 23, 2014

Directly now. But co-worker can know by whom this chat is handled by clicking I icon. There is chat owner field. Although it's doable but no intention to do it at the moment.

@onlyindia
Copy link

vik0803 you can show owner name in all active chat and closed chat like this:

untitled-1

its simple :

1.open file activechat.tpl.php (design/defaulttheme/tpl/lhchat/list)
2. find department);?>
3. Replace that with:

in department);?>  with
getChatOwner(); if ($user !== false) : ?>
name) ?>

@remdex
Copy link
Contributor

remdex commented Apr 24, 2014

In new version, you can't it's AngularJS. This part should be moved to adminsyncinterface call. :)
https://github.com/LiveHelperChat/livehelperchat/blob/master/lhc_web/modules/lhchat/syncadmininterface.php#L61
if first array you can add user, and then just in angular templates chat.user.name etc.

remdex added a commit that referenced this issue May 18, 2014
@remdex
Copy link
Contributor

remdex commented May 18, 2014

@remdex remdex closed this as completed May 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants