-
Notifications
You must be signed in to change notification settings - Fork 8
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
Size column #1023
Size column #1023
Conversation
This patch hides the "Size" and "total_size" variables according to the role and project status. Signed-off-by: Zishan Mirza <[email protected]>
Signed-off-by: Zishan Mirza <[email protected]>
Codecov Report
@@ Coverage Diff @@
## dev #1023 +/- ##
==========================================
+ Coverage 87.59% 87.61% +0.01%
==========================================
Files 27 27
Lines 2943 2946 +3
==========================================
+ Hits 2578 2581 +3
Misses 365 365
Continue to review full report at Codecov.
|
@zishanmirza Can you also add a row to the changelog? |
This patch updates "CHANGELOG.md" and switches the condition in the "if" statement to "total_size". Signed-off-by: Zishan Mirza <[email protected]>
I have updated CHANGELOG.md. |
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.
Add the current_user.role check too
This patch adds roles to the condition of the "if" statement. Signed-off-by: Zishan Mirza <[email protected]>
Signed-off-by: Zishan Mirza <[email protected]>
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.
Looks good!
This patch hides the "Size" and "total_size" variables according to the role and project status.
Fixes #1008.
dev
branch