show Your CryptDrive, if logged in. fix typos

This commit is contained in:
ansuz
2017-08-11 11:32:21 +02:00
parent f4e5e67a68
commit 7f2b7fc287
3 changed files with 9 additions and 6 deletions

View File

@@ -30,6 +30,9 @@ define([
return;
}
$main.find('a[href="/drive/"] div.pad-button-text h4')
.text(Messages.main_yourCryptDrive);
var name = localStorage[Cryptpad.userNameKey] || sessionStorage[Cryptpad.userNameKey];
var $loggedInBlock = $main.find('#loggedIn');
var $hello = $loggedInBlock.find('#loggedInHello');