fix text title
This commit is contained in:
parent
0b474aa4cb
commit
d006f6195e
1 changed files with 10 additions and 6 deletions
|
@ -582,12 +582,16 @@ pandora.getClipsQuery = function() {
|
||||||
itemTitles[pandora.user.ui.item] = itemTitle
|
itemTitles[pandora.user.ui.item] = itemTitle
|
||||||
}
|
}
|
||||||
var parts = [pandora.site.site.name];
|
var parts = [pandora.site.site.name];
|
||||||
if (!pandora.user.ui.item) {
|
if (pandora.user.ui.section == 'items') {
|
||||||
pandora.user.ui._list && parts.push('List ' + pandora.user.ui._list);
|
if (!pandora.user.ui.item) {
|
||||||
parts.push(Ox.toTitleCase(pandora.user.ui.listView) + ' View');
|
pandora.user.ui._list && parts.push('List ' + pandora.user.ui._list);
|
||||||
} else {
|
parts.push(Ox.toTitleCase(pandora.user.ui.listView) + ' View');
|
||||||
parts.push(itemTitles[pandora.user.ui.item] || pandora.user.ui.item);
|
} else {
|
||||||
parts.push(Ox.toTitleCase(pandora.user.ui.itemView) + ' View');
|
parts.push(itemTitles[pandora.user.ui.item] || pandora.user.ui.item);
|
||||||
|
parts.push(Ox.toTitleCase(pandora.user.ui.itemView) + ' View');
|
||||||
|
}
|
||||||
|
} else if (pandora.user.ui.section == 'texts') {
|
||||||
|
parts.push(pandora.user.ui.text ? pandora.user.ui.text : 'Texts');
|
||||||
}
|
}
|
||||||
return parts.join(' - ');
|
return parts.join(' - ');
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue