mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-18 12:26:41 +00:00
Top hunters UI tweak
This commit is contained in:
parent
cf7b34a758
commit
5be2a59e67
@ -558,7 +558,7 @@ AND comment_hash = :hash;
|
|||||||
|
|
||||||
|
|
||||||
-- :name top-hunters :? :*
|
-- :name top-hunters :? :*
|
||||||
-- :doc list of user that have reveived bounty payouts with sum of
|
-- :doc top 5 list of users that have reveived bounty payouts with sum of
|
||||||
-- earnings
|
-- earnings
|
||||||
SELECT
|
SELECT
|
||||||
u.id AS user_id,
|
u.id AS user_id,
|
||||||
@ -573,7 +573,7 @@ AND u.id = pr.user_id
|
|||||||
AND i.payout_receipt IS NOT NULL
|
AND i.payout_receipt IS NOT NULL
|
||||||
GROUP BY u.id
|
GROUP BY u.id
|
||||||
ORDER BY total_usd DESC
|
ORDER BY total_usd DESC
|
||||||
LIMIT 10;
|
LIMIT 5;
|
||||||
|
|
||||||
|
|
||||||
-- :name bounties-activity :? :*
|
-- :name bounties-activity :? :*
|
||||||
|
@ -215,7 +215,7 @@
|
|||||||
(when (show-top-hunters?)
|
(when (show-top-hunters?)
|
||||||
[:div.six.wide.column.computer.only
|
[:div.six.wide.column.computer.only
|
||||||
[:div.ui.container.top-hunters
|
[:div.ui.container.top-hunters
|
||||||
[:h3.top-hunters-header "Top hunters"]
|
[:h3.top-hunters-header "Top 5 hunters"]
|
||||||
[:div.top-hunters-subheader "All time"]
|
[:div.top-hunters-subheader "All time"]
|
||||||
[top-hunters]]])]]
|
[top-hunters]]])]]
|
||||||
[footer]]])))
|
[footer]]])))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user