diff --git a/.config/init.ml b/.config/init.ml index a8fd4b1..e81a606 100644 --- a/.config/init.ml +++ b/.config/init.ml @@ -58,17 +58,13 @@ let setup_workspace ~container cstore : unit Lwt.t = ~some:(fun s -> s) (Headers.get headers "path")) in + let status = F.str "Name: %s; Path: %a" step Uri.pp_hum uri in appendchild ~container Tyxml_js.Html.( a ~a:[ a_class [ "window" ] ] [ - div - ~a:[ a_class [ "status" ] ] - [ - txt - (F.str "Name: %s; Path: %a" step Uri.pp_hum uri); - ]; + div ~a:[ a_class [ "status" ] ] [ txt status ]; div ~a:[ a_class [ "output" ] ] [ txt (F.str "%s" contents) ];