mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 21:39:34 +02:00
Hiding permissions when OS is windows
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'handlebars'
|
||||
], function (Handlebars) {
|
||||
Handlebars.registerHelper('LinuxOnly', function () {
|
||||
return new Handlebars.SafeString('<i class="icon-linux" title="Linux Only"></i>');
|
||||
});
|
||||
});
|
@@ -19,7 +19,7 @@ define(
|
||||
if (StatusModel.get('isLinux'))
|
||||
{
|
||||
return options.fn(this);
|
||||
}
|
||||
}
|
||||
|
||||
return options.inverse(this);
|
||||
});
|
||||
|
@@ -10,7 +10,6 @@ define(
|
||||
'Handlebars/Helpers/Series',
|
||||
'Handlebars/Helpers/Quality',
|
||||
'Handlebars/Helpers/System',
|
||||
'Handlebars/Helpers/Os',
|
||||
'Handlebars/Handlebars.Debug'
|
||||
], function (Templates) {
|
||||
return function () {
|
||||
|
Reference in New Issue
Block a user