Invert the condition

This commit is contained in:
Michael 2023-09-09 19:41:40 +00:00
parent 8050389d32
commit 30a7f93685
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
</span>
<div id="{{$type}}-desc">{{$desc nofilter}}</div>
<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>
{{/if}}
{{foreach $options as $option}}

View File

@ -5,7 +5,7 @@
{{/if}}
<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>
{{/if}}
{{foreach $options as $option}}