Fix setting frame title, unify some title to use short label

pull/5742/merge
Aleksander Machniak 7 years ago
parent e8b51553ec
commit 4ea094c80f

@ -2,7 +2,7 @@
<roundcube:include file="includes/menu.html" />
<roundcube:include file="includes/settings-menu.html" />
<h1 class="voice"><roundcube:label name="settings" /> : <roundcube:label name="folders" /></h1>
<h1 class="voice"><roundcube:label name="folders" /></h1>
<!-- folders list -->
<div class="list listbox selected" aria-labelledby="aria-label-folderslist">

@ -2,7 +2,7 @@
<roundcube:include file="includes/menu.html" />
<roundcube:include file="includes/settings-menu.html" />
<h1 class="voice"><roundcube:label name="settings" /> : <roundcube:label name="responses" /></h1>
<h1 class="voice"><roundcube:label name="responses" /></h1>
<!-- responses list -->
<div class="list listbox selected" aria-labelledby="aria-label-responseslist">

@ -2,7 +2,7 @@
<roundcube:include file="includes/menu.html" />
<roundcube:include file="includes/settings-menu.html" />
<h1 class="voice"><roundcube:label name="settings" /> : <roundcube:label name="preferences" /></h1>
<h1 class="voice"><roundcube:label name="preferences" /></h1>
<div class="list listbox<roundcube:exp expression="!request:_action ? '' : ' selected'"/>" aria-labelledby="aria-label-prefsection">
<div class="header">

@ -123,7 +123,7 @@ function rcube_elastic_ui()
// Set content frame title in parent window (exclude ext-windows and dialog frames)
if (is_framed && !rcmail.env.extwin && !parent.$('.ui-dialog:visible').length) {
if (title = $('h1.voice:first').text()) {
parent.$('.header > .header-title', layout.content).text(title);
parent.$('#layout > .content > .header > .header-title').text(title);
}
}
else {

Loading…
Cancel
Save