1
0
Fork 0
mirror of https://github.com/YunoHost/doc.git synced 2024-09-03 20:06:26 +02:00

[enh] Add jappix to support pages.

This commit is contained in:
opi 2016-03-22 21:39:07 +01:00
parent 97ced352ce
commit 8777aac73a
2 changed files with 48 additions and 45 deletions

View file

@ -20,30 +20,31 @@ The YunoHost support is provided by the community members.
<script type="text/javascript" src="/jappix/javascripts/mini.min.js"></script>
<script type="text/javascript"> <script type="text/javascript">
// Jappix mini chat
$(".actions").css('opacity', 0); $(".actions").css('opacity', 0);
jQuery.ajaxSetup({cache: false}); jQuery.ajaxSetup({cache: false});
jQuery.getScript('https://'+ location.host +'/mini/javascripts/mini.js', function() {
HOST_BOSH = 'https://'+ location.host +'/http-bind/'; var ADS_ENABLE = 'off';
var JAPPIX_STATIC = '/jappix/';
var HOST_BOSH = 'https://im.yunohost.org/http-bind/';
var ANONYMOUS = 'on';
JappixMini.launch({ JappixMini.launch({
connection: { connection: {
domain: 'anonymous.yunohost.org' domain: "anonymous.yunohost.org",
}, },
application: { application: {
network: { network: {
autoconnect: false autoconnect: false,
}, },
interface: { interface: {
showpane: true, showpane: false,
animate: true animate: false,
}, },
groupchat: { groupchat: {
open: ['support@conference.yunohost.org'] open: ['support@conference.yunohost.org']
} }
} },
});
}); });
</script> </script>

View file

@ -18,30 +18,32 @@ L'entraide autour de YunoHost est assurée par la communauté.
**[yunohost@yunohost.org](mailto:yunohost@yunohost.org)** **[yunohost@yunohost.org](mailto:yunohost@yunohost.org)**
<script type="text/javascript" src="/jappix/javascripts/mini.min.js"></script>
<script type="text/javascript"> <script type="text/javascript">
// Jappix mini chat
$(".actions").css('opacity', 0); $(".actions").css('opacity', 0);
jQuery.ajaxSetup({cache: false}); jQuery.ajaxSetup({cache: false});
jQuery.getScript('https://'+ location.host +'/mini/javascripts/mini.js', function() {
HOST_BOSH = 'https://'+ location.host +'/http-bind/'; var ADS_ENABLE = 'off';
var JAPPIX_STATIC = '/jappix/';
var HOST_BOSH = 'https://im.yunohost.org/http-bind/';
var ANONYMOUS = 'on';
JappixMini.launch({ JappixMini.launch({
connection: { connection: {
domain: 'anonymous.yunohost.org' domain: "anonymous.yunohost.org",
}, },
application: { application: {
network: { network: {
autoconnect: false autoconnect: false,
}, },
interface: { interface: {
showpane: true, showpane: false,
animate: true animate: false,
}, },
groupchat: { groupchat: {
open: ['support@conference.yunohost.org'] open: ['support@conference.yunohost.org']
} }
} },
});
}); });
</script> </script>