-
Notifications
You must be signed in to change notification settings - Fork 344
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
Create user profile template #914
Comments
Here, I couldn't find any fields specified in the User model. Is there some other model, defined elsewhere? |
We have an OpenCiviWiki/project/api/models/account.py Line 105 in 374381b
I propose we
|
I opened an issue to move all accounts related code to the accounts app and rename the |
This task can focus on rendering the profile edit form and should be considered a child task of #926 |
@brylie I worked on settings forms issue and this looks similar to that so could you assign it to me? |
@wassafshahzad thanks for the help :-) I've assigned you to the issue. |
No problem always happy to help |
@brylie would you kindly explain how will this be different from the settings form? |
@wassafshahzad good point. Let's perhaps deprecate the "user profile" form/template in favor of the settings page. I.e. just link directly to the settings page and remove any code/mention of "profile" perhaps? |
So should i change the link from profileView to settingView ? |
@wassafshahzad yes. Linking to |
Put up Pr for this issue. |
Looks good. We'll merge the PR once the review comments are resolved 😃 |
Sorry I didn't add the tests yet. |
When migrating the old frontend templates to Django, we noticed the user profile was not rendering any content. Rather than weed through the proclaimed "horrendous code" that was responsible for rendering the BackBone view, let's just write a simple user profile template from scratch.
OpenCiviWiki/project/webapp/static/js/account.js
Lines 32 to 33 in 374381b
Task
The text was updated successfully, but these errors were encountered: