mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-01-01 02:26:01 +01:00
OS X and linux can be treated separately
This commit is contained in:
4
src/UI/.idea/jsLinters/jshint.xml
generated
4
src/UI/.idea/jsLinters/jshint.xml
generated
@@ -8,16 +8,16 @@
|
||||
<option es3="false" />
|
||||
<option forin="true" />
|
||||
<option immed="true" />
|
||||
<option latedef="true" />
|
||||
<option newcap="true" />
|
||||
<option noarg="true" />
|
||||
<option noempty="false" />
|
||||
<option nonew="true" />
|
||||
<option plusplus="false" />
|
||||
<option undef="true" />
|
||||
<option unused="true" />
|
||||
<option strict="true" />
|
||||
<option trailing="false" />
|
||||
<option latedef="true" />
|
||||
<option unused="true" />
|
||||
<option quotmark="single" />
|
||||
<option maxdepth="3" />
|
||||
<option asi="false" />
|
||||
|
||||
@@ -15,8 +15,8 @@ define(
|
||||
return options.inverse(this);
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('if_linux', function(options) {
|
||||
if (StatusModel.get('isLinux'))
|
||||
Handlebars.registerHelper('if_mono', function(options) {
|
||||
if (StatusModel.get('isMono'))
|
||||
{
|
||||
return options.fn(this);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{#if_linux}}
|
||||
{{#if_mono}}
|
||||
<fieldset class="advanced-setting">
|
||||
<legend>Permissions</legend>
|
||||
|
||||
@@ -67,4 +67,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
{{/if_linux}}
|
||||
{{/if_mono}}
|
||||
Reference in New Issue
Block a user