{% extends "gateways/base.html" %}{% load i18n %} {% block title %}{% translate "Gateways" %} – Rivet{% endblock %} {% block content %}

{% translate "Gateways" %}

{% if can_add %}

{% translate "Add gateway" %}

{% endif %} {% if codes %}

{% translate "Waiting for registration" %}

{% translate "Withdraw registration code? It is invalid afterwards." as t_withdraw %}
{% endif %} {% for gw in gateways %}

{{ gw.name }}

https://{{ gw.fqdn }}
{% include "gateways/_gw_status.html" %}
{% include "gateways/_uplink_status.html" %}
{{ gw.get_uplink_mode_display }} · {% blocktranslate trimmed count counter=gw.phones_total %}{{ counter }} phone{% plural %}{{ counter }} phones{% endblocktranslate %}{% if gw.version %} · {% blocktranslate trimmed with v=gw.version %}Version {{ v }}{% endblocktranslate %}{% endif %} · {{ gw.organisation.name }}
{% empty %}
{% if has_membership %}{% translate "No gateway registered yet." %} {% if can_add %}{% translate "With “Add gateway” you get a registration code for a new device." %}{% endif %} {% else %}{% translate "Your account is not assigned to a customer yet. Please contact operations." %}{% endif %}
{% endfor %} {% endblock %}