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:
zobe123 2015-12-10 23:56:02 +01:00
parent 14d4940d05
commit 6e4198e7be

View file

@ -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