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

Contributor in resource detail page only uses the full name #1690

Closed
seav opened this issue Aug 1, 2017 · 0 comments · Fixed by #1696
Closed

Contributor in resource detail page only uses the full name #1690

seav opened this issue Aug 1, 2017 · 0 comments · Fixed by #1696
Assignees

Comments

@seav
Copy link
Contributor

seav commented Aug 1, 2017

Steps to reproduce the error

  1. Using a user with no full name, attach a new resource to a project.
  2. Go to the new resource's detail page.

Actual behavior

The contributor information is blank. See screenshot below.

screen shot 2017-08-01 at 22 03 30

Expected behavior

If the user has no full name, use the username instead.

Notes

This issue can be found in the following template code: https://github.com/Cadasta/cadasta-platform/blob/master/cadasta/templates/resources/project_detail.html#L51

@seav seav changed the title Contributor in resource detail page on uses the full name Contributor in resource detail page only uses the full name Aug 1, 2017
seav pushed a commit that referenced this issue Aug 3, 2017
amplifi pushed a commit that referenced this issue Aug 3, 2017
amplifi pushed a commit that referenced this issue Aug 3, 2017
…have a full name (#1696)

* Resolve #1690

* Use get_display_name()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant