Invert the condition
This commit is contained in:
parent
8050389d32
commit
30a7f93685
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user