diff options
author | Marius Peter <marius.peter@tutanota.com> | 2025-06-29 00:40:43 +0200 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2025-06-29 00:40:43 +0200 |
commit | 7acf56191a2d51b9476b2d0699d783d259ef862f (patch) | |
tree | ba6c5eebbb7c955a372f024a88ca79de2ffc3013 /lib/views.ml | |
parent | f78d35225241e93a43ad53b187e392164a5ae17a (diff) |
Remove authors for now.
Diffstat (limited to 'lib/views.ml')
-rw-r--r-- | lib/views.ml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/views.ml b/lib/views.ml index 024aeea..9402ad3 100644 --- a/lib/views.ml +++ b/lib/views.ml @@ -92,7 +92,8 @@ module Repo = struct let page_title repo = Printf.sprintf "%s — %s" repo (Resolvers.repo_description repo) - let li_of_author author = HTML.(li [] [ txt "%s" author ]) + let li_of_author (author : Resolvers.Commit.user) = + HTML.(li [] [ txt "%s" author.name ]) let li_of_branch repo (branch : Resolvers.Branch.t) = HTML.(li [] [ Routes.link_to (Refs repo) (txt "%s" branch.name) ]) @@ -135,8 +136,8 @@ module Repo = struct ul [] (List.map (li_of_branch repo) branches); h3 [] [ txt "Latest commits" ]; ul [] (List.map (li_of_commit repo) commits); - h3 [] [ txt "Authors" ]; - ul [] (List.map li_of_author authors); + (* h3 [] [ txt "Authors" ]; *) + (* ul [] (List.map li_of_author authors); *) ]; } |