From 165b62acc991cbf30cb721af27b04a066dbc9413 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sun, 1 Dec 2019 09:22:20 +0100 Subject: v2rw: Convert thread display + poll voting I did not reimplement the 'poll_recast' and 'poll_preview' settings, these actions are now always permitted. Updated CSS a little bit to highlight the linked post and fix the double border at the bottom. The nice thing about the sql_visible_threads() function I wrote earlier is that is can also be used for access control on a single thread. More code re-use. \o/ --- elm/User/Edit.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elm/User/Edit.elm') diff --git a/elm/User/Edit.elm b/elm/User/Edit.elm index 1a13cdb1..1a9b9a55 100644 --- a/elm/User/Edit.elm +++ b/elm/User/Edit.elm @@ -217,7 +217,7 @@ view model = ] , div [ class "mainbox" ] - [ fieldset [ class "submit" ] [ submitButton "Submit" model.state (not model.passNeq) False ] + [ fieldset [ class "submit" ] [ submitButton "Submit" model.state (not model.passNeq) ] , if not model.mailConfirm then text "" else div [ class "notice" ] [ text "A confirmation email has been sent to your new address. Your address will be updated after following the instructions in that mail." ] -- cgit v1.2.3