Top hunters UI tweak

This commit is contained in:
Teemu Patja 2017-12-21 13:45:06 +02:00
parent cf7b34a758
commit 5be2a59e67
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
2 changed files with 3 additions and 3 deletions

View File

@ -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 :? :*

View File

@ -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]]])))