use owner login as a fallback for revoke card (can be different display name than rep owner)
This commit is contained in:
parent
92a012c2ed
commit
a9282f503a
|
@ -521,6 +521,7 @@ SELECT
|
|||
r.owner AS repo_owner,
|
||||
r.owner_avatar_url AS repo_owner_avatar_url,
|
||||
o.address AS owner_address,
|
||||
o.login AS owner_login,
|
||||
u.address AS payout_address
|
||||
FROM users o, repositories r, issues i LEFT OUTER JOIN users u ON u.login = i.winner_login
|
||||
WHERE
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
:type :item-type
|
||||
:repo_name :repo-name
|
||||
:repo_owner :repo-owner
|
||||
:owner_login :owner-login
|
||||
:issue_number :issue-number
|
||||
:issue_id :issue-id
|
||||
:value_usd :value-usd
|
||||
|
|
|
@ -328,7 +328,7 @@
|
|||
"Paid out to " [:span.pg-med.fw5 "@" (or (:winner_login bounty)
|
||||
;; use repo owner for revoked bounties
|
||||
;; where no winner login is set
|
||||
(:repo-owner bounty))]]]
|
||||
(:owner-login bounty))]]]
|
||||
[small-card-balances bounty]]])
|
||||
|
||||
(defn expandable-bounty-list [bounty-component bounties]
|
||||
|
|
Loading…
Reference in New Issue