From 139b14e16614a7cb3d1089cd64d55acf876cf1ee Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 18 2014 07:20:04 +0000 Subject: Fix referring to the right project if the project is a fork of a fork --- diff --git a/progit/templates/repo_master.html b/progit/templates/repo_master.html index 1012cd7..42edf73 100644 --- a/progit/templates/repo_master.html +++ b/progit/templates/repo_master.html @@ -15,8 +15,12 @@ {% if repo.is_fork %}
Forked from + {% if repo.parent.is_fork %} + + {% else %} - {{ repo.parent.name }} + {% endif %} + {{ repo.parent.fullname }}
{% endif %}