From 126f795463973ac78d909ddf9d470eaae5d44207 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 13 Jun 2013 12:13:02 +0200 Subject: converted templates to default mustache syntax --- .../app/templates/default/header/progressbar.html | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'pyload/web/app/templates/default/header/progressbar.html') diff --git a/pyload/web/app/templates/default/header/progressbar.html b/pyload/web/app/templates/default/header/progressbar.html index 41645c92f..e32edb335 100644 --- a/pyload/web/app/templates/default/header/progressbar.html +++ b/pyload/web/app/templates/default/header/progressbar.html @@ -1,27 +1,27 @@ - <%= if single %> - <% name %> (<% statusmsg %>) - <% else %> - <%= if downloads %> - <% downloads %> downloads running <%= if speed %>(<% formatSize speed %>/s)<%/if%> - <% else %> + {{#if single }} + {{ name }} ({{ statusmsg }}) + {{ else }} + {{#if downloads }} + {{ downloads }} downloads running {{#if speed }}({{ formatSize speed }}/s){{/if}} + {{ else }} No running tasks - <%/if%> - <%/if%> + {{/if}} + {{/if}}
- <%= if single %> -
- <% else %> -
- <%/if%> + {{#if single }} +
+ {{ else }} +
+ {{/if}}
- <%= if linksqueue %> - <% linksqueue %> downloads left (<% formatSize sizequeue %>) - <%/if%> + {{#if linksqueue }} + {{ linksqueue }} downloads left ({{ formatSize sizequeue }}) + {{/if}} - <% formatTime etaqueue %> + {{ formatTime etaqueue }}
\ No newline at end of file -- cgit v1.2.3