Add links to the CryptPad survey and to the crowdfunding page

This commit is contained in:
yflory
2019-10-03 18:09:20 +02:00
parent d5c4285c61
commit 390ca941e7
10 changed files with 109 additions and 49 deletions

View File

@@ -376,6 +376,14 @@ define([
});
});
sframeChan.on('Q_GET_PINNED_USAGE', function (data, cb) {
Cryptpad.getPinnedUsage({}, function (e, used) {
cb({
error: e,
quota: used
});
});
});
sframeChan.on('Q_GET_PIN_LIMIT_STATUS', function (data, cb) {
Cryptpad.isOverPinLimit(null, function (e, overLimit, limits) {
cb({