From 4c852cbbdce3cff3bb49e272bbc98019eb6f0129 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 17 Apr 2013 10:42:25 -0400 Subject: [PATCH] added count api methods for studios and genres --- dashboard-ui/scripts/itembynamedetailpage.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/dashboard-ui/scripts/itembynamedetailpage.js b/dashboard-ui/scripts/itembynamedetailpage.js index 8983a1f493..44904a0d21 100644 --- a/dashboard-ui/scripts/itembynamedetailpage.js +++ b/dashboard-ui/scripts/itembynamedetailpage.js @@ -86,12 +86,30 @@ html += ''; } + if (result.TrailerCount) { + + html += ''; + html += ''; + } + if (result.GameCount) { html += ''; html += ''; } + if (result.AlbumCount) { + + html += ''; + html += ''; + } + + if (result.SongCount) { + + html += ''; + html += ''; + } + html += ''; var elem = $('#items', page).html(html).trigger('create');