-
Notifications
You must be signed in to change notification settings - Fork 32
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
Added ability for admins to release and restrict email mode #214
Added ability for admins to release and restrict email mode #214
Conversation
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 to me! I only found minor formatting issues. Thanks for closing the loop on this!
puzzle, | ||
team, | ||
EventRole == EventRole.admin ? null : LoggedInUser); | ||
|
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.
blank line
team, | ||
value ? (DateTime?)DateTime.UtcNow : null, | ||
EventRole == EventRole.admin ? null : LoggedInUser); | ||
|
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.
blank line
team, | ||
value ? (DateTime?)DateTime.UtcNow : null, | ||
EventRole == EventRole.admin ? null : LoggedInUser); | ||
|
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.
blank line
team, | ||
value, | ||
EventRole == EventRole.admin ? null : LoggedInUser); | ||
|
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.
blank line
puzzles = await _context.Puzzles.Where(p => p.Event == Event) | ||
.Select(p => new PuzzleStats() { Puzzle = p }) | ||
.ToListAsync(); | ||
|
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.
blank line
puzzles = await UserEventHelper.GetPuzzlesForAuthorAndEvent(_context, Event, LoggedInUser) | ||
.Select(p => new PuzzleStats() { Puzzle = p }) | ||
.ToListAsync(); | ||
|
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.
blank line
} | ||
|
||
return "L"; | ||
|
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.
blank line
…o lambert/release_email_mode
Addresses #157