Skip to content
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

Temporarily gather name data in membership page #3205

Merged
merged 3 commits into from
Jul 27, 2024
Merged

Conversation

henrikskog
Copy link
Contributor

@henrikskog henrikskog commented Jul 27, 2024

Written together with @jotjern

  • Only show a form that asks user for first name and last name in the membership page if these fields are not present on the user.

  • Don't require ntnu username for searching manual approval membership

@henrikskog henrikskog merged commit cd6f990 into main Jul 27, 2024
6 checks passed
@henrikskog henrikskog deleted the gather-name branch July 27, 2024 13:41
Comment on lines +10 to +15
{% if not user.first_name or not user.last_name %}
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-5">
<form id="user-name-form" method="post" action="{% url 'update_user_name' %}">
{% csrf_token %}
<h3>Vi trenger ditt fornavn og etternavn!</h3>
Copy link
Member

@henrikhorluck henrikhorluck Jul 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vi trenger jo bare dette for manuell søknad—vi får det fra FEIDE ved automatisk, men nå er det krevd at det gjøres et unødvendig steg for de fleste brukere

@henrikhorluck henrikhorluck restored the gather-name branch August 2, 2024 19:41
@henrikhorluck henrikhorluck deleted the gather-name branch August 2, 2024 19:41
henrikhorluck added a commit that referenced this pull request Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants