-# Copyright (c) 2010-2011, Diaspora Inc. This file is -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. .container-fluid .row %h1= t("_statistics") .col-md-3 = render "statistic", name: t("statistics.name"), value: @statistics.name, activated: "serv-enabled" .col-md-3 = render "statistic", name: t("statistics.version"), value: @statistics.version, activated: "serv-enabled" .col-md-3 = render "statistic", name: t("statistics.registrations"), value: registrations_status(@statistics), activated: registrations_status_class(@statistics) - if @statistics.expose_user_counts? .col-md-3 = render "statistic", name: t("statistics.total_users"), value: @statistics.total_users, activated: "serv-enabled" .col-md-3 = render "statistic", name: t("statistics.active_users_halfyear"), value: @statistics.halfyear_users, activated: "serv-enabled" .col-md-3 = render "statistic", name: t("statistics.active_users_monthly"), value: @statistics.monthly_users, activated: "serv-enabled" - if @statistics.expose_posts_counts? .col-md-3 = render "statistic", name: t("statistics.local_posts"), value: @statistics.local_posts, activated: "serv-enabled" - if @statistics.expose_comment_counts? .col-md-3 = render "statistic", name: t("statistics.local_comments"), value: @statistics.local_comments, activated: "serv-enabled" .row %h1= t("statistics.services") - Configuration::KNOWN_SERVICES.each do |service| .col-md-3 = render "statistic", name: t("services.provider.#{service}"), value: service_status(service, @statistics.available_services), activated: service_class(service, @statistics.available_services)