Feat/supervisor decide on detail view #649
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #612. There is no supervisor decide button on the review detail page. Granted this is a super niche edge case, where someone, has to be both a member of a chamber AND the supervisor, but I guess this did occur. This should fix the issue.
I also noticed that the text "Uitleg secretaris" on action_explanation.html, was outside the if-statement which checks if a user is a secretary, so this always rendered, which I fixed too. I didn´t really feel this warranted creating an issue, so I just pushed this here. I will make an issue for documentation, if you would prefer.