-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: tweak grant fund settings #5807
Conversation
- grant team members cannot fund their own grant - fund button is made hidden for grant owner + team members - added new field link_to_new_grant which is set when grant is migrated - if grant has link_to_new_grant -> fund button is replaced with button to link to new grant. - funding is blocked on old grants
@owocki could you check out the |
Codecov Report
@@ Coverage Diff @@
## stable #5807 +/- ##
==========================================
- Coverage 29.75% 29.54% -0.21%
==========================================
Files 260 266 +6
Lines 22012 22654 +642
Branches 3193 3290 +97
==========================================
+ Hits 6549 6694 +145
- Misses 15186 15680 +494
- Partials 277 280 +3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'back to grant' looks kind of funny on https://bits.owocki.com/llu47w4g
left a few minor comments.. other than those LGTM
] | ||
list_display =['pk', 'title', 'active','grant_type', 'link', 'hidden'] | ||
list_display =['pk', 'title', 'active','grant_type', 'link', 'hidden', 'migrated_to'] | ||
raw_id_fields = ['admin_profile'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we add to raw_id_fields? i honestly just like the raw id field explorer more than the regular FK explorer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@owocki updated it |
Description
is migrated
with button to link to new grant.
Steps
Testing