| |
|
<%= t('title') %>
<%= t('greeting') %>,
<%= t('intro') %>:
<%= voucher.code.slice(0, 5) %>-<%= voucher.code.slice(5) %>
<% if(unifiSsid !== '') { %>
<% if(unifiSsidPassword !== '') { %>
<%= t('connect') %>: <%= unifiSsid %>,
<%= t('password') %>: <%= unifiSsidPassword %> <%= t('or') %>,
<% } else { %>
<%= t('connect') %>: <%= unifiSsid %> <%= t('or') %>,
<% } %>
<%= t('scan') %>:
<% } %>
<%= t('details') %>
<%= t('type') %>: <%= voucher.quota === 1 ? t('singleUse') : voucher.quota === 0 ? t('multiUse') : t('multiUse') %>
<%= t('duration') %>: <%= timeConvert(voucher.duration, language) %>
<% if(voucher.qos_usage_quota) { %>
<%= t('dataLimit') %>: <%= bytesConvert(voucher.qos_usage_quota, 2) %>
<% } %>
<% if(voucher.qos_rate_max_down) { %>
<%= t('downloadLimit') %>: <%= bytesConvert(voucher.qos_rate_max_down, 1, true) %>
<% } %>
<% if(voucher.qos_rate_max_up) { %>
<%= t('uploadLimit') %>: <%= bytesConvert(voucher.qos_rate_max_up, 1, true) %>
<% } %>
|
|
|
|