Skip to content
Snippets Groups Projects
Verified Commit 86743ad3 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Show username and short name in full persons table

parent d2c2f4ad
No related branches found
No related tags found
1 merge request!1049Resolve "Show more detailed member tables on group detail pages"
Checking pipeline status
......@@ -49,11 +49,13 @@ class FullPersonsTable(PersonsTable):
class Meta(PersonsTable.Meta):
fields = (
"photo",
"short_name",
"date_of_birth",
"sex",
"email",
"user__username",
)
sequence = ("photo", "first_name", "last_name", "...")
sequence = ("photo", "first_name", "last_name", "short_name", "...")
def render_photo(self, value, record):
return render_to_string(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment