mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
minor
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -45,11 +45,9 @@
|
||||
</p>
|
||||
<p class="lead">
|
||||
<span>{{ no_of_backers }}</span>
|
||||
(
|
||||
{% for backer in paid_backers %}
|
||||
<span class="small">{{ backer.full_name }}</span>,
|
||||
{% endfor %}
|
||||
)
|
||||
{% if paid_backers %}
|
||||
<span class="small">({{ paid_backers }})</span>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if doc.github_issue %}
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user