]> git.mxchange.org Git - friendica.git/commitdiff
Invert the condition
authorMichael <heluecht@pirati.ca>
Sat, 9 Sep 2023 19:41:40 +0000 (19:41 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 9 Sep 2023 19:41:40 +0000 (19:41 +0000)
view/templates/widget/filter.tpl
view/theme/quattro/templates/widget/filter.tpl

index 5bde685492faf2f78197d176424f5d4ec6765531..afe6b455f3853fc591099ebe2aa8f64a33c11971 100644 (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}}
index 63f0277dd371b73d3a9d76af0046d2ad9ea0bc5c..da8d8fe9e4505057e2293c845d732b79c10f2751 100644 (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}}