Commit 4eceae0c authored by Emmanuel Raviart's avatar Emmanuel Raviart

Sort items in source code.

parent fa392385
......@@ -90,7 +90,7 @@ translateKeysAutocompleteMsg =
translateMsg : MsgTranslation parentMsg -> MsgTranslator parentMsg
translateMsg { onInternalMsg, onRequireSignIn, onNavigate } msg =
translateMsg { onInternalMsg, onNavigate, onRequireSignIn } msg =
case msg of
ForParent (Navigate path) ->
onNavigate path
......
......@@ -743,6 +743,9 @@ viewDebateModal model card debatedIds =
viewProperty index property =
let
ballot =
Dict.get property.ballotId data.ballots
keyLabel =
Dict.get property.keyId (Dict.fromList keyIdLabelCouples)
|> Maybe.map (I18n.translate language)
......@@ -750,9 +753,6 @@ viewDebateModal model card debatedIds =
value =
Dict.get property.valueId values
ballot =
Dict.get property.ballotId data.ballots
in
li [ classList [ ( "media", True ), ( "best", index == 0 ) ] ]
[ div [ class "media-left" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment