no title fallback

This commit is contained in:
j 2021-04-29 21:57:52 +02:00
parent 7f31998254
commit 7fa3f7d8fe
2 changed files with 2 additions and 1 deletions

View file

@ -218,7 +218,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
.append( .append(
Ox.EditableContent({ Ox.EditableContent({
editable: canEdit, editable: canEdit,
placeholder: formatLight(Ox._('No Title')), placeholder: formatLight(Ox._( isMixed.title ? 'Mixed title' : 'Untitled')),
tooltip: canEdit ? pandora.getEditTooltip() : '', tooltip: canEdit ? pandora.getEditTooltip() : '',
value: data.title || '' value: data.title || ''
}) })

View file

@ -228,6 +228,7 @@ pandora.ui.infoView = function(data, isMixed) {
Ox.EditableContent({ Ox.EditableContent({
editable: canEdit, editable: canEdit,
tooltip: canEdit ? pandora.getEditTooltip() : '', tooltip: canEdit ? pandora.getEditTooltip() : '',
placeholder: formatLight(Ox._( isMixed.title ? 'Mixed title' : 'Untitled')),
value: data.title || '' value: data.title || ''
}) })
.css({ .css({