does not have an editor view
This commit is contained in:
parent
e0172a38f4
commit
0232e2b15b
1 changed files with 4 additions and 1 deletions
|
@ -51,7 +51,10 @@ pandora.ui.item = function() {
|
||||||
.css({marginTop: '32px', fontSize: '12px', textAlign: 'center'})
|
.css({marginTop: '32px', fontSize: '12px', textAlign: 'center'})
|
||||||
.html(
|
.html(
|
||||||
'Sorry, <i>' + result.data.title
|
'Sorry, <i>' + result.data.title
|
||||||
+ '</i> currently doesn\'t have a '
|
+ '</i> currently doesn\'t have '
|
||||||
|
+ ['a', 'e', 'i', 'o'].indexOf(
|
||||||
|
pandora.user.ui.itemView.slice(0, 1)
|
||||||
|
) > -1 ? 'an': 'a' + ' '
|
||||||
+ pandora.user.ui.itemView + ' view.'
|
+ pandora.user.ui.itemView + ' view.'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue