Suppress unneeded active button on author series page

This commit is contained in:
phil.borman@gmail.com 2025-10-29 09:56:49 +01:00
parent a8730aa64c
commit 9c17df747b

View File

@ -13,12 +13,15 @@
<label class="control-label"> </label>
%endif
%if CONFIG['USER_ACCOUNTS']:
%if authorid == None:
%if pref&lazylibrarian.pref_myseries:
<a href="toggle_my_series" class="button btn btn-sm btn-primary" data-toggle="tooltip" title="All, or just mine"><i class="fa fa-user-circle"></i></a>
%else:
<a href="toggle_my_series" class="button btn btn-sm btn-primary" data-toggle="tooltip" title="All, or just mine"><i class="fa fa-users"></i></a>
%endif
%endif
%endif
%if authorid == None:
%if active == 'True':
%if whichStatus != None:
<a href="series?active=False&which_status=${whichStatus}" class="btn btn-sm btn-primary" data-toggle="tooltip" title="Show all authors"><i class="fa fa-user-friends"></i> Show All</a>
@ -32,6 +35,7 @@
<a href="series?active=True" class="btn btn-sm btn-primary" data-toggle="tooltip" title="Only active/wanted authors"><i class="fa fa-user-check"></i> Show Active</a>
%endif
%endif
%endif
</div>
<div class="clearfix visible-xs"><hr/></div>
%if perm&lazylibrarian.perm_search: