Merge remote-tracking branch 'origin/accessibility' into accessibility

This commit is contained in:
daria 2023-07-27 12:20:00 +03:00
commit 70fb1a739e
2 changed files with 7 additions and 2 deletions

View File

@ -8,9 +8,12 @@ define([
var urlArgs = window.location.href.replace(/^.*\?([^\?]*)$/, function (all, x) { return x; });
var elem = document.createElement('div');
elem.setAttribute('id', 'cp-loading');
Messages.label_logo = "CryptPad logo"; // XXX Logo
elem.innerHTML = [
'<div class="cp-loading-logo">',
'<img class="cp-loading-cryptofist" src="/customize/CryptPad_logo.svg?' + urlArgs + '" alt="CryptPad Logo">', // XXX
'<img class="cp-loading-cryptofist" src="/customize/CryptPad_logo.svg?' + urlArgs + '" alt="' + Messages.label_logo + '">',
'</div>',
'<div class="cp-loading-container">',
'<div class="cp-loading-spinner-container">',

View File

@ -1740,11 +1740,13 @@ define([
var termsLine = template(Messages.info_termsFlavour, Pages.termsLink);
var sourceLine = template(Messages.info_sourceFlavour, Pages.sourceLink);
Messages.label_logo = "CryptPad logo"; // XXX Logo
var content = h('div.cp-info-menu-container', [
h('div.logo-block', [
h('img', {
src: '/customize/CryptPad_logo.svg?' + urlArgs,
alt: 'CryptPad Logo' // XXX
alt: Messages.label_logo
}),
h('h6', "CryptPad"),
h('span', Pages.versionString)