mirror of https://github.com/xwiki-labs/cryptpad
added temporary label for toolbar
This commit is contained in:
parent
5c1d67f244
commit
b52ab484f2
|
@ -862,12 +862,12 @@ MessengerUI, Messages, Pages) {
|
||||||
|
|
||||||
var href = toMain ? origin+'/index.html' : origin+'/drive/';
|
var href = toMain ? origin+'/index.html' : origin+'/drive/';
|
||||||
var buttonTitle = toMain ? Messages.header_homeTitle : Messages.header_logoTitle;
|
var buttonTitle = toMain ? Messages.header_homeTitle : Messages.header_logoTitle;
|
||||||
|
Messages.homeButton = "Home button"; // XXX
|
||||||
var $aTag = $('<a>', {
|
var $aTag = $('<a>', {
|
||||||
href: href,
|
href: href,
|
||||||
title: buttonTitle,
|
title: buttonTitle,
|
||||||
'class': "cp-toolbar-link-logo",
|
'class': "cp-toolbar-link-logo",
|
||||||
'aria-label': 'Home button', // XXX
|
'aria-label': Messages.homeButton,
|
||||||
}).append(UI.getIcon(privateData.app));
|
}).append(UI.getIcon(privateData.app));
|
||||||
|
|
||||||
var onClick = function (e) {
|
var onClick = function (e) {
|
||||||
|
@ -1123,7 +1123,8 @@ MessengerUI, Messages, Pages) {
|
||||||
$button.attr('title', Messages.notificationsPage);
|
$button.attr('title', Messages.notificationsPage);
|
||||||
$button.addClass('fa fa-bell-o cp-notifications-bell');
|
$button.addClass('fa fa-bell-o cp-notifications-bell');
|
||||||
$button.addClass('fa fa-bell-o cp-notifications-bell');
|
$button.addClass('fa fa-bell-o cp-notifications-bell');
|
||||||
$button.attr('aria-label', 'Notification Bell'); // XXX
|
Messages.notificationBell = "Notification Bell"; // XXX
|
||||||
|
$button.attr('aria-label', Messages.notificationBell);
|
||||||
var $n = $button.find('.cp-dropdown-button-title').hide();
|
var $n = $button.find('.cp-dropdown-button-title').hide();
|
||||||
var $empty = $(div).find('.cp-notifications-empty');
|
var $empty = $(div).find('.cp-notifications-empty');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue