| |
|
<%= 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.authorizedGuestLimit ? t('multiUse') : voucher.authorizedGuestLimit === 1 ? t('singleUse') : t('multiUse') %>
<%= t('duration') %>: <%= timeConvert(voucher.timeLimitMinutes, language) %>
<% if(voucher.dataUsageLimitMBytes) { %>
<%= t('dataLimit') %>: <%= bytesConvert(voucher.dataUsageLimitMBytes, 2) %>
<% } %>
<% if(voucher.rxRateLimitKbps) { %>
<%= t('downloadLimit') %>: <%= bytesConvert(voucher.rxRateLimitKbps, 1, true) %>
<% } %>
<% if(voucher.txRateLimitKbps) { %>
<%= t('uploadLimit') %>: <%= bytesConvert(voucher.txRateLimitKbps, 1, true) %>
<% } %>
|
|
|
|