Skip to content

Commit

Permalink
fix home page metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Nov 7, 2024
1 parent 14d248a commit 4464a0d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/views/home/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -73,43 +73,43 @@
%hr/
%div
%h4
= format_number_abbreviated(@ont_count)
= format_number_abbreviated(@metrics[:ontologies_count])
%p= t("home.ontologies")
.home-statistics-item
%hr/
%div
%h4
= format_number_abbreviated(@cls_count)
= format_number_abbreviated(@metrics[:class_count])
%p= t("home.classes")
.home-statistics-item
%hr/
%div
%h4
= format_number_abbreviated(@individuals_count)
= format_number_abbreviated(@metrics[:individuals_count])
%p= t("home.individuals")
.home-statistics-item
%hr/
%div
%h4
= format_number_abbreviated(@prop_count)
= format_number_abbreviated(@metrics[:properties_count])
%p= t("home.properties")
.home-statistics-item
%hr/
%div
%h4
= format_number_abbreviated(@projects_count)
= format_number_abbreviated(@metrics[:projects_count])
%p= t("home.projects")
.home-statistics-item
%hr/
%div
%h4
= format_number_abbreviated(@map_count)
= format_number_abbreviated(@metrics[:mappings_count])
%p= t("home.mappings")
.home-statistics-item
%hr/
%div
%h4
= format_number_abbreviated(@users_count)
= format_number_abbreviated(@metrics[:users_count])
%p= t("home.users")
.home-statistics-link.justify-content-end{style: @analytics.empty? && "visibility: hidden"}
= link_to t("home.see_details"),'/statistics', target: "_blank"
Expand Down

0 comments on commit 4464a0d

Please sign in to comment.