 
 module.exports = SharingWidget = ({ machine, coordinates }) ->
 
-  <SidebarWidget onClose={onClose} coordinates>
+  text = if machine.getType() is Machine.Type.Collaboration
+  then 'wants to collaborate with you on their VM.'
+  else 'wants to share their VM with you'
+
+  <SidebarWidget onClose={onClose} coordinates={coordinates}>
 
     <SidebarWidgetUser owner={machine.getOwner()} />
     <SidebarWidgetTitle children={text} />


  </SidebarWidget>

Buttons = ({ children }) ->

  <div className='button-wrapper'>{children}</div>

kd = require 'kd'
React = require 'app/react'
cx = require 'classnames'

