diff --git a/progit/model.py b/progit/model.py index fbccb8a..582b7a8 100644 --- a/progit/model.py +++ b/progit/model.py @@ -99,7 +99,7 @@ class Project(BASE): return path @property - def fork(self): + def is_fork(self): ''' Return a boolean specifying if the project is a fork or not ''' return self.parent_id is not None diff --git a/progit/templates/repo_master.html b/progit/templates/repo_master.html index 3c75dac..c3e7ca6 100644 --- a/progit/templates/repo_master.html +++ b/progit/templates/repo_master.html @@ -16,7 +16,7 @@ {% if branchname %} ({{ branchname }}) {% endif %} -{% if repo.fork %} +{% if repo.is_fork %}
Forked from