This commit is contained in:
Faris Ansari
2017-08-27 14:10:34 +05:30
parent ddbc915572
commit cbe8d2d9d9
2 changed files with 5 additions and 6 deletions

View File

@@ -25,8 +25,9 @@ class Bounty(WebsiteGenerator):
bounty_left = self.goal * 0.1 bounty_left = self.goal * 0.1
context.no_cache = True context.no_cache = True
context.no_breadcrumbs = False
context.days_to_go = date_diff(self.end_date, nowdate()) 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.no_of_backers = no_of_backers
context.fmt_money = fmt_money context.fmt_money = fmt_money
context.bounty_left = bounty_left context.bounty_left = bounty_left

View File

@@ -45,11 +45,9 @@
</p> </p>
<p class="lead"> <p class="lead">
<span>{{ no_of_backers }}</span> <span>{{ no_of_backers }}</span>
( {% if paid_backers %}
{% for backer in paid_backers %} <span class="small">({{ paid_backers }})</span>
<span class="small">{{ backer.full_name }}</span>, {% endif %}
{% endfor %}
)
</p> </p>
{% if doc.github_issue %} {% if doc.github_issue %}
<p> <p>