[% IF txt_auth_error.defined %]
[% flashIcon(level='error') %]

[% i18n(txt_auth_error) %]

[% END %] [%- IF node.expiration %]
[% flashIcon(level='notice', size='tiny') %]

[% i18n('Your network access ends in ') %]

[%- ELSIF node.time_balance %]
[% flashIcon(level='notice', size='tiny') %]

[% i18n_format("You're not connected to the network, but have a timebank of %s", node.time_balance ) %]

[%- ELSIF node.time_balance == 0 %]
[% flashIcon(level='error') %]

[% i18n("Your network access has expired.") %]

[%- END %] [%- IF billing %]
[% i18n("Extend your access") %]
[%- END %] [% IF status_msg.defined %]
[% flashIcon(level='notice', size='tiny') %]

[% i18n(status_msg) %]

[% ELSIF status_msg_error.defined %]
[% flashIcon(level='error') %]

[% i18n(status_msg_error) %]

[% END %] [%- IF nodes.size > 0 %]

[% i18n("Your registered devices") %]

[%- FOREACH n IN nodes %] [% IF n.mac == node.mac AND node.status == 'reg' %]
    [% IF node.category %]
  • [% i18n("Current Role ") %][% node.category %]
  • [% END %] [% IF node.device_class %]
  • [% i18n("OS Type ") %][% node.device_class %]
  • [% END %] [% IF node.computername %]
  • [% i18n("Computer name ") %][% node.computername %]
  • [% END %] [% IF node.bandwidth_balance %]
  • [% i18n("Bandwidth balance ") %][% node.bandwidth_balance %]
  • [% END %]
  • [% i18n("MAC") %] [% node.mac %]
  • [% IF node.regdate != '0000-00-00 00:00:00' %]
  • [% i18n("Registered on") %] [% node.regdate %]
  • [% END %]
[% i18n("This is your current device.") %]
[% END %] [% NEXT IF n.status != 'reg' OR n.mac == node.mac %] [% IF n.lostOrStolen %]
    [% IF n.category %]
  • [% i18n("Current Role ") %][% n.category %]
  • [% END %] [% IF n.device_class %]
  • [% i18n("OS Type ") %][% n.device_class %]
  • [% END %] [% IF n.computername %]
  • [% i18n("Computer name ") %][% n.computername %]
  • [% END %] [% IF n.bandwidth_balance %]
  • [% i18n("Bandwidth balance ") %][% n.bandwidth_balance %]
  • [% END %] [% IF n.time_balance %]
  • [% i18n("Time balance ") %][% n.time_balance %]
  • [% END %]
  • [% i18n("MAC") %] [% n.mac %]
  • [% IF n.regdate != '0000-00-00 00:00:00' %]
  • [% i18n("Registered on") %] [% n.regdate %]
  • [% END %]
[% i18n("This device is declared as lost or stolen.") %]
[% ELSE %]
  • [% i18n("Current Role ") %][% IF n.category ; n.category ; ELSE ; "None" ; END %]
  • [% IF n.device_class %]
  • [% i18n("OS Type ") %][% n.device_class %]
  • [% END %] [% IF n.computername %]
  • [% i18n("Computer name ") %][% n.computername %]
  • [% END %] [% IF n.bandwidth_balance %]
  • [% i18n("Bandwidth balance ") %][% n.bandwidth_balance %]
  • [% END %] [% IF n.time_balance %]
  • [% i18n("Time balance ") %][% n.time_balance %]
  • [% END %]
  • [% i18n("MAC") %] [% n.mac %]
  • [% IF n.regdate != '0000-00-00 00:00:00' %]
  • [% i18n("Registered on") %] [% n.regdate %]
  • [% END %]
[% i18n_format("Unregister %s? The device will be immediately disconnected from the network.", n.mac) %]
[% i18n("Unregister") %] [% i18n("Cancel") %]
[% i18n_format("The device %s will be disconnected and won't be able to be registered again.", n.mac) %]
[% i18n("Declare as lost or stolen") %] [% i18n("Cancel") %]
[% END %] [%- END %]
[%- ELSE %]
[% flashIcon(level='notice', size='tiny') %]

[% i18n("You have no registered devices.") %]

[%- END %] [% IF psk.defined %]
[% flashIcon(level='notice', size='tiny') %]

[% i18n("Your WPA Wi-Fi key: ") %] [% psk %]

[% END %]
[% IF isDeviceRegEnable %] [% i18n("Register another device") %] [% END %] [%- IF hasLocalAccount %] [% i18n("Change my password") %] [% END %] [% IF stripeCustomerPortalEnabled %] [% i18n("Network subscriptions") %] [% END %] [% i18n("Logout") %]