mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Activity card only link to library if section_id available
This commit is contained in:
parent
a876e006d6
commit
24dd403a72
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ DOCUMENTATION :: END
|
||||||
parent_href = page('info', data['parent_rating_key'])
|
parent_href = page('info', data['parent_rating_key'])
|
||||||
grandparent_href = page('info', data['grandparent_rating_key'])
|
grandparent_href = page('info', data['grandparent_rating_key'])
|
||||||
user_href = page('user', data['user_id']) if data['user_id'] else '#'
|
user_href = page('user', data['user_id']) if data['user_id'] else '#'
|
||||||
library_href = page('library', data['section_id'])
|
library_href = page('library', data['section_id']) if data['section_id'] else '#'
|
||||||
season = short_season(data['parent_title'])
|
season = short_season(data['parent_title'])
|
||||||
%>
|
%>
|
||||||
<div class="dashboard-activity-instance" id="activity-instance-${sk}" data-key="${sk}" data-id="${data['session_id']}"
|
<div class="dashboard-activity-instance" id="activity-instance-${sk}" data-key="${sk}" data-id="${data['session_id']}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue