diff --git a/indefero/src/IDF/templates/idf/admin/summary.html b/indefero/src/IDF/templates/idf/admin/summary.html index 90536da..5000056 100644 --- a/indefero/src/IDF/templates/idf/admin/summary.html +++ b/indefero/src/IDF/templates/idf/admin/summary.html @@ -110,4 +110,16 @@

Download Project

A copy of the project can be downloaded here: Download

+{assign $stats = $project.getStats()} +
+

Project Stats

+
+
Size:
{$project.getRepositorySize()|size}
+
Downloads:
{$stats["downloads"]}
+
Reviews:
{$stats["reviews"]}
+
Commits:
{$stats["commits"]}
+
Issues:
{$stats["issues"]}
+
Documentations:
{$stats["docpages"]}
+
+
{/block} diff --git a/indefero/src/IDF/templates/idf/project/home.html b/indefero/src/IDF/templates/idf/project/home.html index 35e78a7..6ac1a5e 100644 --- a/indefero/src/IDF/templates/idf/project/home.html +++ b/indefero/src/IDF/templates/idf/project/home.html @@ -37,6 +37,14 @@ {$member}
{/foreach} {/if} + {assign $stats = $project.getStats()} +
+
Downloads:
{$stats["downloads"]}
+
Reviews:
{$stats["reviews"]}
+
Commits:
{$stats["commits"]}
+
Issues:
{$stats["issues"]}
+
Documentations:
{$stats["docpages"]}
+

{if $project.enableads}