✨ Create reply from post-dependent Sone
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 2 Jan 2020 20:57:42 +0000 (21:57 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 2 Jan 2020 20:57:42 +0000 (21:57 +0100)
src/main/resources/templates/include/viewPost.html

index be11195..edcabce 100644 (file)
                                                <div class="sender">
                                                        <select name="sender" title="<%= View.UpdateStatus.Text.ChooseSenderIdentity|l10n|html>">
                                                                <%foreach localSones localSone|sort>
-                                                                       <option value="<% localSone.id|html>"<%if localSone.current> selected="selected"<%/if>><% localSone.niceName|html></option>
+                                                                       <option value="<% localSone.id|html>"<%if localSone|match value=post.replySone> selected="selected"<%/if>><% localSone.niceName|html></option>
                                                                <%/foreach>
                                                        </select>
                                                </div>