Compare commits

...

2 commits

Author SHA1 Message Date
j
459f65154e fix mixed / no 2023-08-12 17:43:36 +02:00
j
7582d8a50c add notes 2023-08-12 17:42:07 +02:00
2 changed files with 3 additions and 2 deletions

View file

@ -392,6 +392,7 @@
"date": "{date}",
"tag": "{tags}",
"summary": "{description}",
"notes": "Imported from {url}",
"title": "{title}"
},
/*

View file

@ -294,7 +294,7 @@ pandora.ui.infoView = function(data, isMixed) {
.append(
Ox.EditableContent({
editable: canEdit,
placeholder: formatLight(Ox._(isMixed ? 'Mixed Titles' : 'No title')),
placeholder: formatLight(Ox._(isMixed.title ? 'Mixed Titles' : 'No title')),
tooltip: canEdit ? pandora.getEditTooltip() : '',
value: data.title || ''
})
@ -494,7 +494,7 @@ pandora.ui.infoView = function(data, isMixed) {
.append(
Ox.EditableContent({
height: 128,
placeholder: formatLight(Ox._(isMixed ? 'Mixed Notes' : 'No notes')),
placeholder: formatLight(Ox._(isMixed.notes ? 'Mixed Notes' : 'No notes')),
tooltip: pandora.getEditTooltip(),
type: 'textarea',
value: data.notes || '',