diff --git a/foundation/erpnext_foundation/doctype/bounty/bounty.py b/foundation/erpnext_foundation/doctype/bounty/bounty.py index 97c13221..203634e2 100644 --- a/foundation/erpnext_foundation/doctype/bounty/bounty.py +++ b/foundation/erpnext_foundation/doctype/bounty/bounty.py @@ -25,8 +25,9 @@ class Bounty(WebsiteGenerator): bounty_left = self.goal * 0.1 context.no_cache = True + context.no_breadcrumbs = False context.days_to_go = date_diff(self.end_date, nowdate()) - context.paid_backers = paid_backers + context.paid_backers = ", ".join([backer.full_name or backer.user for backer in paid_backers]) context.no_of_backers = no_of_backers context.fmt_money = fmt_money context.bounty_left = bounty_left diff --git a/foundation/erpnext_foundation/doctype/bounty/templates/bounty.html b/foundation/erpnext_foundation/doctype/bounty/templates/bounty.html index 64428bdf..1f78a014 100644 --- a/foundation/erpnext_foundation/doctype/bounty/templates/bounty.html +++ b/foundation/erpnext_foundation/doctype/bounty/templates/bounty.html @@ -45,11 +45,9 @@

{{ no_of_backers }} - ( - {% for backer in paid_backers %} - {{ backer.full_name }}, - {% endfor %} - ) + {% if paid_backers %} + ({{ paid_backers }}) + {% endif %}

{% if doc.github_issue %}