Browse Source

Index from 1

master
Julien Marquet 3 years ago
parent
commit
32c4f17a7e
  1. 2
      src/ServicesTable.elm

2
src/ServicesTable.elm

@ -105,7 +105,7 @@ mkSourceLink mod = a [ href <| "https://github.com/NixOS/nixpkgs/blob/" ++ pinne
renderLine : Int -> { name : String, fields : List String, tests : List String, mod : String } -> Html Msg
renderLine i {name, fields, tests, mod} = tr []
<| [ th [] [ mkSourceLink mod ], th [] [ text <| fromInt i ], th [] [ text name ] ]
<| [ th [] [ mkSourceLink mod ], th [] [ text <| fromInt (i + 1) ], th [] [ text name ] ]
++ (List.map (\b -> td [class (if b then "cell-good" else "cell-bad")] [text (if b then "" else "")])
<| List.map (\field -> not <| List.member field fields) watchedFields)

Loading…
Cancel
Save