gui: Pretty theme names

This commit is contained in:
Audrius Butkevicius
2016-03-27 06:40:50 +00:00
committed by Jakob Borg
parent 46c07bb207
commit 4b6c2d0d3d
3 changed files with 12 additions and 6 deletions

View File

@@ -139,9 +139,9 @@
<div class="form-group" ng-if="system.themes.length > 1">
<label>GUI Theme</label>
<select class="form-control" ng-model="tmpGUI.theme" ng->
<option ng-repeat="theme in system.themes" value="{{ theme }}">
{{ theme.charAt(0).toUpperCase() + theme.slice(1) }}
<select class="form-control" ng-model="tmpGUI.theme">
<option ng-repeat="theme in system.themes.sort()" value="{{ theme }}">
{{ themeName(theme) }}
</option>
</select>
</div>