diff --git a/templates/partials/packages/statistics.html b/templates/partials/packages/statistics.html index 8a6546b9..676b78d6 100644 --- a/templates/partials/packages/statistics.html +++ b/templates/partials/packages/statistics.html @@ -4,47 +4,47 @@ - + - + - + - + - + - + - + - +
{{ "Packages" | tr }}{{ package_count }}{{ package_count }}
{{ "Orphan Packages" | tr }}{{ orphan_count }}{{ orphan_count }}
{{ "Packages added in the past 7 days" | tr }} {{ seven_days_old_added }}{{ seven_days_old_added }}
{{ "Packages updated in the past 7 days" | tr }} {{ seven_days_old_updated }}{{ seven_days_old_updated }}
{{ "Packages updated in the past year" | tr }} {{ year_old_updated }}{{ year_old_updated }}
{{ "Packages never updated" | tr }} {{ never_updated }}{{ never_updated }}
{{ "Registered Users" | tr }} {{ user_count }}{{ user_count }}
{{ "Trusted Users" | tr }} {{ trusted_user_count }}{{ trusted_user_count }}
diff --git a/templates/partials/statistics.html b/templates/partials/statistics.html index 0bf844b6..2a6f69db 100644 --- a/templates/partials/statistics.html +++ b/templates/partials/statistics.html @@ -10,7 +10,7 @@ {{ "Packages" | tr }} - {{ bases.count() }} + {{ bases.count() }} {% set out_of_date_packages = bases | out_of_date %} @@ -19,7 +19,7 @@ {{ "Out of Date" | tr }} - {{ out_of_date_packages.count() }} + {{ out_of_date_packages.count() }} diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css index 22b5ac65..0511ef15 100644 --- a/web/html/css/aurweb.css +++ b/web/html/css/aurweb.css @@ -23,6 +23,16 @@ white-space: normal; } +#pkg-stats td.stat-val, +#my-stats td.stat-val { + text-align: right; +} + +[dir="rtl"] #pkg-stats td.stat-val, +[dir="rtl"] #my-stats td.stat-val { + text-align: left; +} + #actionlist form { margin: 0; padding: 0;