add title to contacts app

pull/1/head
ansuz 8 years ago
parent f2320190b8
commit 0cd94e2ba8

@ -265,6 +265,7 @@ define(function () {
// contacts/userlist // contacts/userlist
out.userlist_addAsFriendTitle = 'Add "{0}" as a contact'; out.userlist_addAsFriendTitle = 'Add "{0}" as a contact';
out.userlist_thisIsYou = 'This is you ("{0}")'; out.userlist_thisIsYou = 'This is you ("{0}")';
out.contacts_title = "Contacts";
// File manager // File manager

@ -25,14 +25,15 @@ define([
var $messages = $iframe.find('#messaging'); var $messages = $iframe.find('#messaging');
var $bar = $iframe.find('.toolbar-container'); var $bar = $iframe.find('.toolbar-container');
var displayed = ['useradmin', 'newpad', 'limit']; var displayed = ['useradmin', 'newpad', 'limit', 'pageTitle'];
var configTb = { var configTb = {
displayed: displayed, displayed: displayed,
ifrw: ifrw, ifrw: ifrw,
common: Cryptpad, common: Cryptpad,
$container: $bar, $container: $bar,
network: Cryptpad.getNetwork() network: Cryptpad.getNetwork(),
pageTitle: Messages.contacts_title,
}; };
var toolbar = APP.toolbar = Toolbar.create(configTb); var toolbar = APP.toolbar = Toolbar.create(configTb);
toolbar.$rightside.html(''); // Remove the drawer if we don't use it to hide the toolbar toolbar.$rightside.html(''); // Remove the drawer if we don't use it to hide the toolbar

Loading…
Cancel
Save