Skip to content

Commit

Permalink
fix: revert html code removal (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 authored May 14, 2024
1 parent 51f10c4 commit 6ca4776
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/elm/Pages/Org_/Repo_/Hooks.elm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import Html
exposing
( Html
, a
, code
, div
, span
, td
Expand Down Expand Up @@ -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 ]
]
Expand Down
20 changes: 17 additions & 3 deletions src/elm/Pages/Org_/Repo_/Schedules.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ]
]
Expand Down

0 comments on commit 6ca4776

Please sign in to comment.