diff options
Diffstat (limited to 'web')
-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> |