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
-9
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>');
});
});
+1 -1
View File
@@ -19,7 +19,7 @@ define(
if (StatusModel.get('isLinux'))
{
return options.fn(this);
}
}
return options.inverse(this);
});