From 6500f751fa1d8ea9e68a19fef29447d1486a617b Mon Sep 17 00:00:00 2001 From: Ghost-script Date: Mar 30 2015 22:18:58 +0000 Subject: Fix the number of commits displayed BugFix#85 --- diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html index 3ea86e2..6eb9c94 100644 --- a/pagure/templates/repo_info.html +++ b/pagure/templates/repo_info.html @@ -117,7 +117,7 @@ {% if origin == 'view_commits' %}

Commits list

{% else %} -

Last 3 commits

+

Last {{ last_commits | length }} commits

{% endif %} {% if diff_commits and authenticated %}