summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/models.py
diff options
context:
space:
mode:
authorMagnus Hagander2014-04-23 18:35:51 +0000
committerMagnus Hagander2014-04-23 18:35:51 +0000
commit20bd6336225c3cd5e0766e4d20f783837ff62190 (patch)
tree59fceaf1b74a31403f3616b7455901f2483e80cf /pgcommitfest/commitfest/models.py
parent97d637b8e9dc80423704a14134ecd2ba3bc366d4 (diff)
Make breadcrumbs more consistent
Diffstat (limited to 'pgcommitfest/commitfest/models.py')
-rw-r--r--pgcommitfest/commitfest/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/models.py b/pgcommitfest/commitfest/models.py
index 76c582d..39e2d34 100644
--- a/pgcommitfest/commitfest/models.py
+++ b/pgcommitfest/commitfest/models.py
@@ -40,6 +40,10 @@ class CommitFest(models.Model):
return [v for k,v in self._STATUS_CHOICES if k==self.status][0]
@property
+ def title(self):
+ return "Commitfest %s" % self.name
+
+ @property
def isopen(self):
return self.status == self.STATUS_OPEN