[% title = i18n("State - Network Access") %]
[% INCLUDE header.html %]
[%# Welcome text %]
[%- IF node.status == 'reg' %]
[% i18n_format("You device is registered to %s", node.pid) %]
[%- ELSE %]
[% i18n("Your current device is not registered on our network.") %]
[%- END %]
[%- IF node.expiration %]
[% i18n('Your network access ends in ') %]
[% i18n("Your network access is paused") %]
[%- ELSIF node.time_balance %]
[% i18n_format("You're not connected to the network, but have a timebank of %s", node.time_balance ) %]
[%- ELSIF node.time_balance == 0 %]
[% i18n("Your network access has expired.") %]
[%- END %]
[%- IF node.last_start_time AND billing %]
[%- END %]
[% IF showLogin %]
[% i18n("Login to manage registered devices") %]
[% ELSIF nodes.size > 0 %]
[% i18n("Your registered devices") %]
[% i18n("MAC Address") %] |
|
[%- FOREACH n IN nodes %]
[% NEXT IF n.status != 'reg' %]
[% n.mac %] |
[% i18n("Unregister") %] |
[%- END %]
[%- ELSE %]
[% i18n("You have no registered devices.") %]
[% END %]
[% UNLESS showLogin %]
Logout
[% END %]
[% INCLUDE footer.html %]