mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
Revert "[new] Shows bounty creator information"
This commit is contained in:
@@ -80,7 +80,4 @@ def get_list_context(context):
|
|||||||
context.get_paid_backers = get_paid_backers
|
context.get_paid_backers = get_paid_backers
|
||||||
|
|
||||||
def get_paid_backers(backers):
|
def get_paid_backers(backers):
|
||||||
if backers:
|
|
||||||
return [backer for backer in backers if backer.paid]
|
return [backer for backer in backers if backer.paid]
|
||||||
else:
|
|
||||||
return 0
|
|
||||||
@@ -107,7 +107,6 @@
|
|||||||
<p>
|
<p>
|
||||||
<h6 class="text-muted uppercase">About this feature</h6>
|
<h6 class="text-muted uppercase">About this feature</h6>
|
||||||
<p>{{doc.description}}</p>
|
<p>{{doc.description}}</p>
|
||||||
<p class='text-muted'> Bounty created by {{ doc.owner }} </p>
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<p><a href="/bounties-faq" class='text-muted'>Bounties FAQ</a></p>
|
<p><a href="/bounties-faq" class='text-muted'>Bounties FAQ</a></p>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
class='octicon octicon-comment-discussion'></i></span>
|
class='octicon octicon-comment-discussion'></i></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% set paid_backers = get_paid_backers(doc.bounty_backer) %}
|
{% set paid_backers = get_paid_backers(doc.bounty_backer) %}
|
||||||
{% if paid_backers and paid_backers|len > 0 %}
|
{% if paid_backers|len > 0 %}
|
||||||
<span class="label">
|
<span class="label">
|
||||||
{{ paid_backers|len }}
|
{{ paid_backers|len }}
|
||||||
{% if paid_backers|len > 1 %}
|
{% if paid_backers|len > 1 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user