Skip to content

Commit

Permalink
Fixed issue with nontagged filter
Browse files Browse the repository at this point in the history
  • Loading branch information
kcaran committed Sep 2, 2020
1 parent 34cce0e commit 898b83c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion linklist.paging.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</div>

<div class="linklist-filters {if="!$page_max"}pure-u-0{/if}">
{if="$is_logged_in or !empty($action_plugin)"}
<span class="linklist-filters-text pure-u-0 pure-u-lg-visible">
{'Filters'|t}
</span>
Expand All @@ -29,9 +28,12 @@
<a href="{$base_path}/untagged-only" aria-label="{'Filter untagged links'|t}" title="{'Filter untagged links'|t}"
class={if="$untaggedonly"}"filter-on"{else}"filter-off"{/if}
><i class="fa fa-tag" aria-hidden="true"></i></a>
{if="$is_logged_in"}
<a href="#" aria-label="{'Select all'|t}" title="{'Select all'|t}"
class="filter-off select-all-button"
><i class="fa fa-check-square-o" aria-hidden="true"></i></a>
{/if}
{if="!empty($action_plugin)"}
{loop="$action_plugin"}
{$value.attr.class=isset($value.attr.class) ? $value.attr.class : ''}
{$value.attr.class=!empty($value.on) ? $value.attr.class .' filter-on' : $value.attr.class .' filter-off'}
Expand Down

0 comments on commit 898b83c

Please sign in to comment.