mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Show collections tab for music libraries
* Hide collections tab for photo libraries * Fixes #1421
This commit is contained in:
parent
613f70886e
commit
6a575824ef
1 changed files with 3 additions and 3 deletions
|
@ -94,7 +94,7 @@ DOCUMENTATION :: END
|
|||
% if _session['user_group'] == 'admin':
|
||||
<li><a id="nav-tabs-mediainfo" href="#tabs-mediainfo" role="tab" data-toggle="tab">Media Info</a></li>
|
||||
% endif
|
||||
% if data['section_type'] != 'artist':
|
||||
% if data['section_type'] != 'photo':
|
||||
<li><a id="nav-tabs-collections" href="#tabs-collections" role="tab" data-toggle="tab">Collections</a></li>
|
||||
% endif
|
||||
<li><a id="nav-tabs-playlists" href="#tabs-playlists" role="tab" data-toggle="tab">Playlists</a></li>
|
||||
|
@ -322,7 +322,7 @@ DOCUMENTATION :: END
|
|||
</div>
|
||||
</div>
|
||||
% endif
|
||||
% if data['section_type'] != 'artist':
|
||||
% if data['section_type'] != 'photo':
|
||||
<div role="tabpanel" class="tab-pane" id="tabs-collections">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
|
@ -615,7 +615,7 @@ DOCUMENTATION :: END
|
|||
history_table.draw();
|
||||
});
|
||||
</script>
|
||||
% if data['section_type'] != 'artist':
|
||||
% if data['section_type'] != 'photo':
|
||||
<script>
|
||||
function loadCollectionsTable() {
|
||||
// Build collections table
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue