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:
@@ -15,11 +15,15 @@ DOCUMENTATION :: END
|
|||||||
</%doc>
|
</%doc>
|
||||||
|
|
||||||
% if data != None:
|
% if data != None:
|
||||||
% if data == '0':
|
% if data == '0':
|
||||||
<h3>Activity</h3>
|
<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:
|
% else:
|
||||||
<h3>Activity <small>${data} stream(s)</small></h3>
|
<h3>no Activity</h3>
|
||||||
% endif
|
% endif
|
||||||
% else:
|
|
||||||
<h3>Activity</h3>
|
|
||||||
% endif
|
|
||||||
Reference in New Issue
Block a user