Hiding permissions when OS is windows

This commit is contained in:
Mark McDowall
2014-01-26 14:16:12 -08:00
parent 49168cad25
commit 25ae19bf80
4 changed files with 5 additions and 16 deletions

View File

@@ -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>');
});
});

View File

@@ -19,7 +19,7 @@ define(
if (StatusModel.get('isLinux'))
{
return options.fn(this);
}
}
return options.inverse(this);
});

View File

@@ -10,7 +10,6 @@ define(
'Handlebars/Helpers/Series',
'Handlebars/Helpers/Quality',
'Handlebars/Helpers/System',
'Handlebars/Helpers/Os',
'Handlebars/Handlebars.Debug'
], function (Templates) {
return function () {