does not have an editor view

This commit is contained in:
j 2012-09-08 14:07:11 +02:00
parent e0172a38f4
commit 0232e2b15b

View file

@ -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.'
) )
); );