Browse Source

Added Zyptonite

Fixes #404
pull/594/head
Ramiro Saenz 8 years ago
parent
commit
f767f24093
  1. 4
      app/model/ServiceList.js
  2. 10
      app/store/ServicesList.js
  3. BIN
      resources/icons/zyptonite.png

4
app/model/ServiceList.js

@ -47,5 +47,9 @@ Ext.define('Rambox.model.ServiceList', {
name: 'custom_domain' name: 'custom_domain'
,type: 'boolean' ,type: 'boolean'
,defaultValue: false ,defaultValue: false
},{
name: 'dont_update_unread_from_title'
,type: 'boolean'
,defaultValue: false
}] }]
}); });

10
app/store/ServicesList.js

@ -711,6 +711,16 @@ Ext.define('Rambox.store.ServicesList', {
,description: 'Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.' ,description: 'Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.'
,url: 'https://www.linkedin.com/messaging' ,url: 'https://www.linkedin.com/messaging'
,type: 'messaging' ,type: 'messaging'
},
{
id: 'zyptonite'
,logo: 'zyptonite.png'
,name: 'Zyptonite'
,description: 'Zyptonite is the ultimate cyber secure communication tool for enterprise customers designed to address the need to securely communicate via voice, video, and chat, and transfer files and information across a global mobile workforce.'
,url: 'https://app.zyptonite.com/'
,type: 'messaging'
,titleBlink: true
,js_unread: 'function checkUnread(){var a=document.getElementsByClassName("z-messages"),b=0;for(i=0;i<a.length;i++)b+=parseInt(a[i].innerHTML.trim());updateBadge(b)}function updateBadge(a){a>=1?document.title="("+a+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3e3);'
} }
] ]
}); });

BIN
resources/icons/zyptonite.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Loading…
Cancel
Save