Invert the condition
This commit is contained in:
parent
8050389d32
commit
30a7f93685
|
@ -7,7 +7,7 @@
|
||||||
</span>
|
</span>
|
||||||
<div id="{{$type}}-desc">{{$desc nofilter}}</div>
|
<div id="{{$type}}-desc">{{$desc nofilter}}</div>
|
||||||
<ul role="menu" class="{{$type}}-ul">
|
<ul role="menu" class="{{$type}}-ul">
|
||||||
{{if !$all_label}}
|
{{if $all_label}}
|
||||||
<li role="menuitem" {{if !is_null($selected) && !$selected}}class="selected"{{/if}}><a href="{{$base}}" class="{{$type}}-link{{if !$selected}} {{$type}}-selected{{/if}} {{$type}}-all">{{$all_label}}</a></li>
|
<li role="menuitem" {{if !is_null($selected) && !$selected}}class="selected"{{/if}}><a href="{{$base}}" class="{{$type}}-link{{if !$selected}} {{$type}}-selected{{/if}} {{$type}}-all">{{$all_label}}</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{foreach $options as $option}}
|
{{foreach $options as $option}}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<ul class="{{$type}}-ul">
|
<ul class="{{$type}}-ul">
|
||||||
{{if !$all_label}}
|
{{if $all_label}}
|
||||||
<li class="tool {{if !$selected}}selected{{/if}}"><a href="{{$base}}" class="{{$type}}-link {{$type}}-all">{{$all_label}}</a>
|
<li class="tool {{if !$selected}}selected{{/if}}"><a href="{{$base}}" class="{{$type}}-link {{$type}}-all">{{$all_label}}</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{foreach $options as $option}}
|
{{foreach $options as $option}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user