|
|
@ -415,6 +415,8 @@ define([
|
|
|
|
content: Messages.user_rename
|
|
|
|
content: Messages.user_rename
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var parsed = Cryptpad.parsePadUrl(window.location.href);
|
|
|
|
|
|
|
|
if (parsed && parsed.type && parsed.type !== 'drive') {
|
|
|
|
options.push({
|
|
|
|
options.push({
|
|
|
|
tag: 'a',
|
|
|
|
tag: 'a',
|
|
|
|
attributes: {
|
|
|
|
attributes: {
|
|
|
@ -423,6 +425,7 @@ define([
|
|
|
|
},
|
|
|
|
},
|
|
|
|
content: Messages.login_accessDrive
|
|
|
|
content: Messages.login_accessDrive
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
// Add login or logout button depending on the current status
|
|
|
|
// Add login or logout button depending on the current status
|
|
|
|
if (account) {
|
|
|
|
if (account) {
|
|
|
|
options.push({
|
|
|
|
options.push({
|
|
|
|