diff --git a/src/elm/Pages/Org_/Repo_/Hooks.elm b/src/elm/Pages/Org_/Repo_/Hooks.elm index 64c71c910..5a4c75551 100644 --- a/src/elm/Pages/Org_/Repo_/Hooks.elm +++ b/src/elm/Pages/Org_/Repo_/Hooks.elm @@ -17,6 +17,7 @@ import Html exposing ( Html , a + , code , div , span , td @@ -454,7 +455,7 @@ viewHookError hook = _ -> tr [ class "error-data", Util.testAttribute "hooks-error" ] [ td [ attribute "colspan" "6" ] - [ span + [ code [ class "error-content" ] [ text hook.error ] ] diff --git a/src/elm/Pages/Org_/Repo_/Schedules.elm b/src/elm/Pages/Org_/Repo_/Schedules.elm index bb38eab17..d2aa0cec5 100644 --- a/src/elm/Pages/Org_/Repo_/Schedules.elm +++ b/src/elm/Pages/Org_/Repo_/Schedules.elm @@ -14,8 +14,22 @@ import Components.Table import Dict import Effect exposing (Effect) import FeatherIcons -import Html exposing (Html, a, div, span, td, text, tr) -import Html.Attributes exposing (attribute, class) +import Html + exposing + ( Html + , a + , code + , div + , span + , td + , text + , tr + ) +import Html.Attributes + exposing + ( attribute + , class + ) import Http import Http.Detailed import Layouts @@ -413,7 +427,7 @@ viewScheduleError schedule = msgRow = tr [ class "error-data", Util.testAttribute "schedules-error" ] [ td [ attribute "colspan" "6" ] - [ span + [ code [ class "error-content" ] [ text schedule.error ] ]