Sort settings page by name
This commit is contained in:
parent
bfa7d6a566
commit
d22679f325
@ -34,7 +34,7 @@ input { width: 98%; }
|
||||
<th>Setting</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
{% for option in configdata.DATA.values() if not option.no_autoconfig %}
|
||||
{% for option in configdata.DATA.values()|sort(attribute='name') if not option.no_autoconfig %}
|
||||
<tr>
|
||||
<!-- FIXME: convert to string properly -->
|
||||
<td class="setting">{{ option.name }} (Current: {{ confget(option.name) | string |truncate(100) }})
|
||||
|
Loading…
Reference in New Issue
Block a user