mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Update current_activity_header.html
dynamic "s" at the word stream/streams added "no" before Activity when their is no activity
This commit is contained in:
parent
14d4940d05
commit
6e4198e7be
1 changed files with 10 additions and 6 deletions
|
@ -15,11 +15,15 @@ DOCUMENTATION :: END
|
|||
</%doc>
|
||||
|
||||
% if data != None:
|
||||
% if data == '0':
|
||||
<h3>Activity</h3>
|
||||
% if data == '0':
|
||||
<h3>no Activity</h3>
|
||||
% else:
|
||||
% if data == '1':
|
||||
<h3>Activity <small>${data} stream</small></h3>
|
||||
% else:
|
||||
<h3>Activity <small>${data} streams</small></h3>
|
||||
% endif
|
||||
% endif
|
||||
% else:
|
||||
<h3>Activity <small>${data} stream(s)</small></h3>
|
||||
<h3>no Activity</h3>
|
||||
% endif
|
||||
% else:
|
||||
<h3>Activity</h3>
|
||||
% endif
|
Loading…
Add table
Add a link
Reference in a new issue