outreachy / website

Code for the Outreachy website, based on Python, Django, and Bootstrap.
https://www.outreachy.org
GNU General Public License v3.0
246 stars 235 forks source link

Allow mentors to withdraw #223

Open sagesharp opened 6 years ago

sagesharp commented 6 years ago

There's currently no clear directions for mentors who want to withdraw from a project. Sometimes a new mentor steps in, or sometimes coordinators submit projects for mentors (which they're explicitly told not to, but it happens). In that case, we want to have a mentor withdraw, but keep the project approved.

We have a URL that allows mentors to withdraw, but their coordinator doesn't get a notification when they withdraw from a project.

If the last mentor withdraws on a project, change the project approval status to pending and send a notification email to the coordinator.

sagesharp commented 6 years ago

When a mentor withdraws, take them to the community read-only page, rather than the project preview page. See project.get_preview_url in home/views.py.