mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
firewall: List firewall services alphabetically
When firewall services are list, the order changes for every run of plinth and is not predictable making it hard to lookup a service. List services alphabetically to fix the problem.
This commit is contained in:
parent
4c30d5e8a5
commit
6d08468933
@ -47,7 +47,6 @@
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
{% for service in services %}
|
||||
<tr>
|
||||
<td><strong>{{ service.name }}</strong></td>
|
||||
<td>
|
||||
@ -62,6 +61,7 @@
|
||||
</tr>
|
||||
|
||||
{% for port in service.ports %}
|
||||
{% for service in services|dictsort:"name" %}
|
||||
<tr>
|
||||
<td class='cell-indented'><em>{{ port }}</em></td>
|
||||
<td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user