Skip to content

Commit

Permalink
Merge pull request #838 from philborman/master
Browse files Browse the repository at this point in the history
Hide audiobook scan if audiobooks not enabled
  • Loading branch information
philborman authored Jun 10, 2017
2 parents 704cf72 + f5fd4a1 commit a63076a
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 a63076a

Please sign in to comment.