From bc236f8182aac8631537f804cb6c6d4323469ffc Mon Sep 17 00:00:00 2001 From: Techywarrior Date: Sat, 6 Apr 2013 09:46:39 -0700 Subject: [PATCH 1/3] display message if no plugins installed --- dashboard-ui/scripts/pluginspage.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dashboard-ui/scripts/pluginspage.js b/dashboard-ui/scripts/pluginspage.js index c8ffe02d8f..742fd6df22 100644 --- a/dashboard-ui/scripts/pluginspage.js +++ b/dashboard-ui/scripts/pluginspage.js @@ -55,6 +55,10 @@ html += ""; } + + if (plugins.length == 0 || !plugins.length) { + html += "
  • You have no plugins installed. Click on the Plugin Catalog to view available plugins.
  • "; + } $('#ulInstalledPlugins', page).html(html).listview('refresh'); From 7bf5d6495e034f850d597bf01c11767155432c2a Mon Sep 17 00:00:00 2001 From: Techywarrior Date: Sat, 6 Apr 2013 09:59:18 -0700 Subject: [PATCH 2/3] adjusted message --- dashboard-ui/scripts/pluginspage.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dashboard-ui/scripts/pluginspage.js b/dashboard-ui/scripts/pluginspage.js index 742fd6df22..fe531b8c58 100644 --- a/dashboard-ui/scripts/pluginspage.js +++ b/dashboard-ui/scripts/pluginspage.js @@ -55,12 +55,14 @@ html += ""; } - - if (plugins.length == 0 || !plugins.length) { - html += "
  • You have no plugins installed. Click on the Plugin Catalog to view available plugins.
  • "; - } - $('#ulInstalledPlugins', page).html(html).listview('refresh'); + if (plugins.length == 0 || !plugins.length) { + html += '
  • You have no plugins installed. Browse our plugin catalog to view available plugins.
  • '; + $('#ulInstalledPlugins', page).html(html); + }else { + $('#ulInstalledPlugins', page).html(html).listview('refresh'); + } + Dashboard.hideLoadingMsg(); }, From 731469846506b039a16f7308eeb024d1df9d2189 Mon Sep 17 00:00:00 2001 From: Techywarrior Date: Sat, 6 Apr 2013 10:16:46 -0700 Subject: [PATCH 3/3] removed title from poster view unless specified or no image available --- dashboard-ui/scripts/librarybrowser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 53dc3c75cc..fa6030abd8 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -15,7 +15,7 @@ var href = item.url || (item.IsFolder ? (item.Id ? "itemList.html?parentId=" + item.Id : "#") : "itemdetails.html?id=" + item.Id); - var showText = options.showTitle || !hasPrimaryImage || (item.Type !== 'Movie' && item.Type !== 'Series' && item.Type !== 'Season' && item.Type !== 'Trailer'); + var showText = options.showTitle || !hasPrimaryImage; var cssClass = showText ? "posterViewItem" : "posterViewItem posterViewItemWithNoText";