       @div 'This is your current session details',class:'sendchattext'
       @div 'Session on web',class:'sendchattext'
       @subview 'sessionurl', new TextEditorView(mini: true)
-      @a 'Open in browser', class:'floatright', href: 'http://devunity.com/c/'+codekey,target:"_blank"
+      @a 'Open in browser', class:'floatright', href: 'https://devunity.com/c/'+codekey,target:"_blank"
       @hr
       @div 'Session key',class:'sendchattext'
       @subview 'sessionkey', new TextEditorView(mini: true)

    comment = ''
    switch fileextension
      when 'py'
        comment +='\n# Collaboration url: http://devunity.com/c/'+codekey+'\n'
        comment +='# To end collaboration click Packages > Devunity > stop\n'

      when 'php'
        comment += '\n// Collaboration url: http://devunity.com/c/'+codekey+'\n'
        comment +='// To end collaboration click Packages > Devunity > stop\n'

      when 'html'
        comment +='\n<!-- Collaboration url: http://devunity.com/c/'+codekey+'-->\n'
        comment +='<!-- To end collaboration click Packages > Devunity > stop\n'

      when 'js'
        comment +='\n// Collaboration url: http://devunity.com/c/'+codekey+'\n'
        comment +='// To end collaboration click Packages > Devunity > stop\n'

      when 'javascript'
        comment +='\n// Collaboration url: http://devunity.com/c/'+codekey+'\n'
        comment +='// To end collaboration click Packages > Devunity > stop\n'

      when 'coffee'
        comment +='\n# Collaboration url: http://devunity.com/c/'+codekey+'\n'
        comment +='# To end collaboration click Packages > Devunity > stop\n'

      when 'c'
        comment +='\n/* Collaboration url: http://devunity.com/c/'+codekey+' */\n'
        comment +='/* To end collaboration click Packages > Devunity > stop */\n'

      when 'css'
        comment +='\n/* Collaboration url: http://devunity.com/c/'+codekey+' */\n'
        comment +='/* To end collaboration click Packages > Devunity > stop */\n'

      when 'h'
        comment +='\n/* Collaboration url: http://devunity.com/c/'+codekey+' */\n'
        comment +='/* To end collaboration click Packages > Devunity > stop */\n'

      when 'jsp'
        comment +='\n/* Collaboration url: http://devunity.com/c/'+codekey+' */\n'
        comment +='/* To end collaboration click Packages > Devunity > stop */\n'

      when 'txt'
        comment +='\n# Collaboration url: http://devunity.com/c/'+codekey+'\n'
        comment +='# To end collaboration click Packages > Devunity > stop */\n'

      when 'pl'
        comment +='\n# Collaboration url: http://devunity.com/c/'+codekey+'\n'
        comment +='# To end collaboration click Packages > Devunity > stop\n'

      when 'rc'
        comment +='\n# Collaboration url: http://devunity.com/c/'+codekey+'\n'
        comment +='# To end collaboration click Packages > Devunity > stop\n'

      else # default, could also just omit condition or 'if True'
        comment +='\n# Collaboration url: http://devunity.com/c/'+codekey+'\n'
        comment +='# To end collaboration click Packages > Devunity > stop\n'
    return comment


        class: 'colabdetailsrow'
        =>
          @div '[x] Stop',id: 'stopCollab', class: 'stopcollab pull-right'
          #@div id: 'openvideo', class:'openvideo pull-right',=>
          #  @iframe src: 'https://appear.in/devunity_'+@codekey, class:'videoiframe'
          @div '[C] Send chat',id: 'openchat', class:'openchattext pull-right'
          @div '[D] Details',id: 'details', class: 'details pull-right'
          @div id: 'readonly', class: 'readonly pull-right', =>
