diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-14 11:46:10 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-14 11:46:10 +0300 |
commit | f03dce6a5e22c13884c3017e78e4a302c43259aa (patch) | |
tree | 8a8c6fdedd45bd493657819035f2909de15cfb35 /servo | |
parent | f4158d4882664ae3c53a03fca8f1983eb3c1735f (diff) | |
download | Servo-f03dce6a5e22c13884c3017e78e4a302c43259aa.tar.gz Servo-f03dce6a5e22c13884c3017e78e4a302c43259aa.tar.bz2 Servo-f03dce6a5e22c13884c3017e78e4a302c43259aa.zip |
Fix event icons
Diffstat (limited to 'servo')
-rw-r--r-- | servo/models/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/models/common.py b/servo/models/common.py index faad673..69feea2 100644 --- a/servo/models/common.py +++ b/servo/models/common.py @@ -147,7 +147,7 @@ class Event(models.Model): return Status.objects.get(title=self.description) def get_icon(self): - return "events/%s-%s" % (self.content_type, self.action) + return "events/%s-%s" % (self.content_type.name, self.action) def get_link(self): return self.content_object.get_absolute_url() |