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

Hotfix 0.7.7 #137

Merged
merged 2 commits into from
Apr 16, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Chat widget is now be initialized with logged in user name and email
  • Loading branch information
jmiranda committed Apr 16, 2016
commit 763f671997fb06a5b72c64afb6d07af2ba23a5fc
9 changes: 9 additions & 0 deletions grails-app/views/layouts/custom.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,15 @@
type="text/javascript";e.parentNode.insertBefore($,e)})(document,"script");
</script>
<!--End of Zopim Live Chat Script-->

<g:if test="${session.user}">
<script>
$zopim(function() {
$zopim.livechat.setName('${session?.user?.name}');
$zopim.livechat.setEmail('${session?.user?.email}');
});
</script>
</g:if>
</g:if>
<r:layoutResources/>

Expand Down