diff --git a/website/templates/issue.html b/website/templates/issue.html index 9b5ba4128..200e80a6b 100644 --- a/website/templates/issue.html +++ b/website/templates/issue.html @@ -94,8 +94,32 @@ Domain: + {{object.url}}
+ Liked By + + + + diff --git a/website/views.py b/website/views.py index 2583075c4..ab6f7ff4f 100644 --- a/website/views.py +++ b/website/views.py @@ -698,6 +698,7 @@ def get_context_data(self, **kwargs): context['all_comment'] = self.object.comments.all context['all_users'] = User.objects.all() context['likes'] = UserProfile.objects.filter(issue_upvoted=self.object).count() + context['likers'] = UserProfile.objects.filter(issue_upvoted=self.object) return context