openreview-py icon indicating copy to clipboard operation
openreview-py copied to clipboard

Recruitment: check if profile exists to render sign up request in the acceptance page

Open melisabok opened this issue 4 years ago • 0 comments

Before showing the instructions to the user we can check if the email is associated with an existent profile:

  • if profile and profile.active=true

"Please login and complete your pending tasks (if any) for ICLR 2021"

  • if profile and profile.active=false

"Please signup here claiming the existing profile {profile.id} and complete your pending tasks (if any) for ICLR 2021"

  • if profile and email is not confirmed

"Please confirm the email {email} listed in your profile {profile.id} and complete your pending tasks (if any) for ICLR 2021"

  • if not profile:

"Please signup here using the email {email} and complete your pending tasks (if any) for ICLR 2021"

https://github.com/openreview/openreview-py/blob/master/openreview/conference/templates/recruitResponseWebfield.js

melisabok avatar Jun 18 '21 14:06 melisabok