From 0232e2b15bfa27b5f94819c7819dcef3bc5e7f6a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 8 Sep 2012 14:07:11 +0200 Subject: [PATCH] does not have an editor view --- static/js/pandora/item.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index cb9aad62..026086e3 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -51,7 +51,10 @@ pandora.ui.item = function() { .css({marginTop: '32px', fontSize: '12px', textAlign: 'center'}) .html( 'Sorry, ' + result.data.title - + ' currently doesn\'t have a ' + + ' currently doesn\'t have ' + + ['a', 'e', 'i', 'o'].indexOf( + pandora.user.ui.itemView.slice(0, 1) + ) > -1 ? 'an': 'a' + ' ' + pandora.user.ui.itemView + ' view.' ) );