From 44d840d483f0bef7e2b287118e427c2cd335d21e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 19 Jul 2016 01:09:14 -0400 Subject: [PATCH] update lists --- .../emby-webcomponents/itemcontextmenu.js | 2 +- .../bower_components/emby-webcomponents/itemhelper.js | 4 ++++ .../emby-webcomponents/listview/listview.css | 8 ++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/bower_components/emby-webcomponents/itemcontextmenu.js b/dashboard-ui/bower_components/emby-webcomponents/itemcontextmenu.js index d08d5b14f..0ac7356a9 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/itemcontextmenu.js +++ b/dashboard-ui/bower_components/emby-webcomponents/itemcontextmenu.js @@ -154,7 +154,7 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'embyRouter', if (user.Policy.IsAdministrator) { - if (item.Type != 'Timer') { + if (item.Type != 'Timer' && item.Type != 'Program') { commands.push({ name: globalize.translate('sharedcomponents#Refresh'), id: 'refresh' diff --git a/dashboard-ui/bower_components/emby-webcomponents/itemhelper.js b/dashboard-ui/bower_components/emby-webcomponents/itemhelper.js index 2ee4afcd1..5fa6ce96e 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/itemhelper.js +++ b/dashboard-ui/bower_components/emby-webcomponents/itemhelper.js @@ -75,6 +75,10 @@ define(['apphost'], function (appHost) { return false; } + if (itemType == 'Program') { + return false; + } + if (user.Policy.IsAdministrator) { return true; diff --git a/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css b/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css index 539d83212..c2987411a 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css +++ b/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css @@ -138,6 +138,10 @@ div.listItem { transform: scale(1.025, 1.025); } + .listItem > .fab:first-child { + margin-left: .75em; + } + .paperList { padding: .5em 0; margin: 1em auto; @@ -149,6 +153,10 @@ div.listItem { background-color: transparent !important; } + .paperList .listItem { + border-bottom: 0; + } + .listItemMediaInfo { align-items: center; }