<%inherit file="base.html"/> <%! import lazylibrarian from lazylibrarian.config2 import CONFIG %> <%def name="headerIncludes()">
%if perm&lazylibrarian.perm_force: %if author['Status'] == 'Paused': Paused %else: %if author['Status'] == 'Active': Active %else: %if author['Status'] == 'Wanted': Wanted %else: Ignored %endif %endif %endif Refresh Author eBook Scan %if CONFIG.get_int('AUDIO_TAB') > 0: AudioBook Scan %endif %if ignored == 'True': %if library == 'AudioBook': Show Active %else: Show Active %endif %else: %if library == 'AudioBook': Show Ignored %else: Show Ignored %endif %endif %endif %if showseries >= 1: %if perm&lazylibrarian.perm_series: Series %endif %endif %if CONFIG['GR_FOLLOW']: %if author['GRfollow']: %if author['GRfollow'] != '0': Following %else: Not Following %endif %else: Not Following %endif %endif
%if len(types) > 1: %if perm&lazylibrarian.perm_audio: %endif %endif %if len(languages) > 1: %endif
%if CONFIG['USER_ACCOUNTS']: %if CONFIG['RSS_ENABLED']: %if CONFIG.get_int('EBOOK_TAB') > 0:   %endif %if CONFIG.get_int('AUDIO_TAB') > 0:   %endif %endif %endif
<%def name="body()">

${author['AuthorName']} %if perm&lazylibrarian.perm_edit: Edit %endif

%if author['AuthorDeath']:

Born: ${author['AuthorBorn']}, Died: ${author['AuthorDeath']}

%else: %if author['AuthorBorn']:

Born: ${author['AuthorBorn']}

%endif %endif %if author['Status'] == 'Loading':

%endif

Totalbooks: ${author['TotalBooks']}

<% totalbooks = author['UnignoredBooks'] havebooks = author['HaveBooks'] if not havebooks: havebooks = 0 try: percent = (havebooks*100.0)/totalbooks if percent > 100: percent = 100 if percent <= 100: css = "bg-success" if percent <= 75: css = "bg-info" if percent <= 50: css = "bg-warning" if percent <= 25: css = "bg-danger" except (ZeroDivisionError, TypeError): percent = 0 totalbooks = '0' css = "bg-danger" %>
Progress:
${percent}% Complete
${havebooks} / ${totalbooks}
%if perm&lazylibrarian.perm_status or CONFIG['USER_ACCOUNTS']:
%if CONFIG['TOGGLES']: %endif
Cover Title Series Released Added Status

 

<%def name="javascriptIncludes()">