Sort local Sones.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 10 Sep 2011 15:28:35 +0000 (17:28 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 10 Sep 2011 15:28:35 +0000 (17:28 +0200)
src/main/resources/templates/include/updateStatus.html

index 43d4d70..881aca4 100644 (file)
@@ -4,7 +4,7 @@
        <label for="sender"><%= Page.Index.Label.Sender|l10n|html></label>
        <div class="sender">
                <select name="sender" title="<%= View.UpdateStatus.Text.ChooseSenderIdentity|l10n|html>">
-                       <%foreach localSones localSone>
+                       <%foreach localSones localSone|sort>
                                <option value="<% localSone.id|html>"<%if localSone.current> selected="selected"<%/if>><% localSone.niceName|html></option>
                        <%/foreach>
                </select>