Skip to content

Commit

Permalink
Hide audiobook scan if audiobooks not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
philborman committed Jun 10, 2017
1 parent f540718 commit f5fd4a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion data/interfaces/bookstrap/author.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
<form id="subhead_menu" class="form-inline">
<a href="refreshAuthor?AuthorID=${author['AuthorID']}" class="btn btn-sm btn-primary"><i class="fa fa-refresh"></i> Refresh Author</a>
<a href="libraryScanAuthor?AuthorID=${author['AuthorID']}&library=eBook" class="btn btn-sm btn-primary"><i class="fa fa-refresh"></i> eBook Scan</a>
<a href="libraryScanAuthor?AuthorID=${author['AuthorID']}&library=AudioBook" class="btn btn-sm btn-primary"><i class="fa fa-refresh"></i> AudioBook Scan</a>
% if lazylibrarian.SHOW_AUDIO > 0:
<a href="libraryScanAuthor?AuthorID=${author['AuthorID']}&library=AudioBook" class="btn btn-sm btn-primary"><i class="fa fa-refresh"></i> AudioBook Scan</a>
% endif
<a href="removeAuthor?AuthorID=${author['AuthorID']}" class="btn btn-sm btn-primary"><i class="fa fa-remove"></i> Remove Author</a>
%if author['Status'] == 'Paused':
<a href="resumeAuthor?AuthorID=${author['AuthorID']}" class="btn btn-sm btn-primary"><i class="fa fa-play"></i> Resume Author</a>
Expand Down

0 comments on commit f5fd4a1

Please sign in to comment.