Add a text for no proofs
This commit is contained in:
parent
98562eca2d
commit
f35a8d17e8
|
@ -221,7 +221,8 @@ viewProofTree : ResultMode -> Term Metavariable -> (RuleEnv, RuleEnv) -> Result
|
|||
viewProofTree resultMode query (prog, renderProg) =
|
||||
case single prog (prove query |> Bergamot.Rules.andThen reifyProofTree) of
|
||||
Just proofTree -> renderProofTree resultMode proofTree renderProg
|
||||
Nothing -> Ok <| Html.div [ class "bergamot-no-proofs" ] []
|
||||
Nothing -> Ok <| Html.div [ class "bergamot-no-proofs" ]
|
||||
[ Html.text "No applicable rules to prove input" ]
|
||||
|
||||
view : Model -> Html Msg
|
||||
view m =
|
||||
|
|
Loading…
Reference in New Issue
Block a user