Skip to content

Commit

Permalink
bugfix: uke/sidusis: allow to select any uplink speed for wireless ac…
Browse files Browse the repository at this point in the history
…cesses
  • Loading branch information
chilek committed Feb 13, 2023
1 parent 6ea6cad commit a7b4d96
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/default/net/netranges.html
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,10 @@ <h1>{$layout.pagetitle}</h1>
<option value="">{trans("— none —")}</option>
{foreach $linkspeeds as $speed => $label}
<option value="{$speed}"{if $speed == $range.downlink} selected{/if}
{if $range.linktype == $smarty.const.WIRELESS && $speed < 30} style="display: none;"{/if}>{$label}</option>
{if $range.linktype == $smarty.const.WIRELESS
&& !empty($range.linktechnology)
&& $range.linktechnology == 150
&& $speed < 30} style="display: none;"{/if}>{$label}</option>
{/foreach}
</select>
</label>
Expand All @@ -557,7 +560,7 @@ <h1>{$layout.pagetitle}</h1>
<option value="">{trans("— none —")}</option>
{foreach $linkspeeds as $speed => $label}
<option value="{$speed}"{if $speed == $range.uplink} selected{/if}
{if $range.linktype == $smarty.const.WIRELESS && $speed < 30} style="display: none;"{/if}>{$label}</option>
>{$label}</option>
{/foreach}
</select>
</label>
Expand Down

0 comments on commit a7b4d96

Please sign in to comment.