From ed1cafafd0e405c6541b811c8730462ca5c7b771 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sun, 7 Jul 2019 13:29:03 +0200 Subject: [PATCH] Show commit count in overview page --- templates/overview.rs.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/overview.rs.html b/templates/overview.rs.html index 1a768a9..6b51ad2 100644 --- a/templates/overview.rs.html +++ b/templates/overview.rs.html @@ -1,12 +1,13 @@ @use super::base; @use crate::statics::VersionInfo; -@(version_info: VersionInfo, repo_count: usize, domain: &str, path: &str, url: &str, hoc: u64, hoc_pretty: &str, head: &str, commit_url: &str) +@(version_info: VersionInfo, repo_count: usize, domain: &str, path: &str, url: &str, hoc: u64, hoc_pretty: &str, head: &str, commit_url: &str, commits: u64) @:base("Hits-of-Code Badges", "Overview", {

-The project @url has @hoc_pretty (exactly @hoc) hits of code at @head. +The project @url has @hoc_pretty (exactly @hoc) hits of code at +@head. The repository contains @commits commits.