Add message for no recently added items
This commit is contained in:
@@ -1009,6 +1009,9 @@ a .dashboard-activity-metadata-user-thumb:hover {
|
||||
font-weight: bold;
|
||||
color: #e9a049;
|
||||
}
|
||||
#dashboard-no-recently-added {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.dashboard-recent-media-row {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
|
@@ -31,6 +31,7 @@ DOCUMENTATION :: END
|
||||
</%doc>
|
||||
|
||||
% if data != None:
|
||||
% if data:
|
||||
<div class="dashboard-recent-media-row">
|
||||
<div id="recently-added-row-scroller" style="left: 0;">
|
||||
<ul class="dashboard-recent-media list-unstyled">
|
||||
@@ -177,5 +178,8 @@ DOCUMENTATION :: END
|
||||
</div>
|
||||
</div>
|
||||
% else:
|
||||
<div id="dashboard-no-recently-added" class="text-muted">No recently added items.</div>
|
||||
% endif
|
||||
% else:
|
||||
<div class="text-muted">There was an error communicating with your Plex Server.</div><br>
|
||||
% endif
|
Reference in New Issue
Block a user