diff --git a/src/UI/Handlebars/Helpers/Os.js b/src/UI/Handlebars/Helpers/Os.js deleted file mode 100644 index 0d46f7391..000000000 --- a/src/UI/Handlebars/Helpers/Os.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; -define( - [ - 'handlebars' - ], function (Handlebars) { - Handlebars.registerHelper('LinuxOnly', function () { - return new Handlebars.SafeString(''); - }); - }); diff --git a/src/UI/Handlebars/Helpers/System.js b/src/UI/Handlebars/Helpers/System.js index f5517db84..13cead2f7 100644 --- a/src/UI/Handlebars/Helpers/System.js +++ b/src/UI/Handlebars/Helpers/System.js @@ -19,7 +19,7 @@ define( if (StatusModel.get('isLinux')) { return options.fn(this); - } + } return options.inverse(this); }); diff --git a/src/UI/Handlebars/backbone.marionette.templates.js b/src/UI/Handlebars/backbone.marionette.templates.js index f849da4f1..2c589a5cb 100644 --- a/src/UI/Handlebars/backbone.marionette.templates.js +++ b/src/UI/Handlebars/backbone.marionette.templates.js @@ -10,7 +10,6 @@ define( 'Handlebars/Helpers/Series', 'Handlebars/Helpers/Quality', 'Handlebars/Helpers/System', - 'Handlebars/Helpers/Os', 'Handlebars/Handlebars.Debug' ], function (Templates) { return function () { diff --git a/src/UI/Settings/MediaManagement/Permissions/PermissionsViewTemplate.html b/src/UI/Settings/MediaManagement/Permissions/PermissionsViewTemplate.html index 9528724e6..1c6a0c81e 100644 --- a/src/UI/Settings/MediaManagement/Permissions/PermissionsViewTemplate.html +++ b/src/UI/Settings/MediaManagement/Permissions/PermissionsViewTemplate.html @@ -1,4 +1,5 @@ -
+{{#if_linux}} +
Permissions
@@ -16,7 +17,6 @@ - {{LinuxOnly}}
@@ -28,7 +28,6 @@
- {{LinuxOnly}}
@@ -40,9 +39,9 @@
- {{LinuxOnly}}
-
\ No newline at end of file +
+{{/if_linux}} \ No newline at end of file