From ad575973a6026bcb58f7657479e8ef8ec0b81ef9 Mon Sep 17 00:00:00 2001 From: Aditya Anand Date: Thu, 23 May 2019 14:02:31 +0530 Subject: [PATCH 1/4] users: enable invite button by default if user has no bounties to invite hunter -> they are encouraged to create bounty --- app/dashboard/templates/dashboard/users.html | 44 +++++++++++++------- app/dashboard/views.py | 4 +- 2 files changed, 31 insertions(+), 17 deletions(-) diff --git a/app/dashboard/templates/dashboard/users.html b/app/dashboard/templates/dashboard/users.html index 2502397a115..f305c81fa80 100644 --- a/app/dashboard/templates/dashboard/users.html +++ b/app/dashboard/templates/dashboard/users.html @@ -111,6 +111,12 @@ +
+ +
+ +
+
@@ -178,7 +184,8 @@
[[ user.work_done ]] bounties completed
- + +
@@ -192,36 +199,45 @@
Invite User to Bounty
- [[ userSelected.data.name || userSelected.handle ]] + [[ userSelected.data.name ]] [[ userSelected.handle ]]
- Select a bounty -
-
- -

- [[ bounty.title ]] -

-
- [[ bounty.value_true ]] [[ bounty.token_name ]] - [[ bounty.value_in_usdt_now ]] USD +
+ Select a bounty +
+
+ +

+ [[ bounty.title ]] +

+
+ [[ bounty.value_true ]] [[ bounty.token_name ]] + [[ bounty.value_in_usdt_now ]] USD +
+
+

You've got NO open bounties

+

+ Create a bounty + to invite [[ userSelected.handle ]] +

+
view bounty
- +
-
+