diff options
author | Evgeny Sorokin <me@ch1p.io> | 2024-07-15 20:26:12 +0300 |
---|---|---|
committer | Evgeny Sorokin <me@ch1p.io> | 2024-07-15 20:26:12 +0300 |
commit | 6fc1a8c95a1bfda62fe43da71e7ffadc40622cc6 (patch) | |
tree | b2cee84b44b0719a99bfb97560ab2e91a1429f32 /web/kbn_templates/sms.j2 | |
parent | 275d1384365b78101eeb464be108610d395fc987 (diff) |
Diffstat (limited to 'web/kbn_templates/sms.j2')
-rw-r--r-- | web/kbn_templates/sms.j2 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/web/kbn_templates/sms.j2 b/web/kbn_templates/sms.j2 index 720a7bd..57fbfb9 100644 --- a/web/kbn_templates/sms.j2 +++ b/web/kbn_templates/sms.j2 @@ -6,9 +6,11 @@ <nav> <div class="nav nav-tabs" id="nav-tab"> {% for modem in modems.keys() %} - {% if selected_modem != modem %}<a href="sms.cgi?id={{ modem }}" class="text-decoration-none">{% endif %} - <button class="nav-link{% if modem == selected_modem %} active{% endif %}" type="button">{{ (modem|lang('modems'))['short'] }}</button> - {% if selected_modem != modem %}</a>{% endif %} + {% if modems[modem].type == 'e3372' %} + {% if selected_modem != modem %}<a href="sms.cgi?id={{ modem }}" class="text-decoration-none">{% endif %} + <button class="nav-link{% if modem == selected_modem %} active{% endif %}" type="button">{{ (modem|lang('modems'))['short'] }}</button> + {% if selected_modem != modem %}</a>{% endif %} + {% endif %} {% endfor %} </div> </nav> |