Files
JellyPy/data/interfaces/default/current_activity_header.html
zobe123 6e4198e7be Update current_activity_header.html
dynamic "s" at the word stream/streams
added "no" before Activity when their is no activity
2015-12-10 23:56:02 +01:00

30 lines
657 B
HTML

<%doc>
USAGE DOCUMENTATION :: PLEASE LEAVE THIS AT THE TOP OF THIS FILE
For Mako templating syntax documentation please visit: http://docs.makotemplates.org/en/latest/
Filename: current_activity_header.html
Version: 0.1
Variable names: data [string]
data :: Usable parameters
data Returns the current number of active streams
DOCUMENTATION :: END
</%doc>
% if data != None:
% 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>no Activity</h3>
% endif