Update admin permission page to show the user's display name

10 views
Skip to first unread message

Adam Howell

unread,
Apr 13, 2020, 10:25:39 AM4/13/20
to Trac Users
Is it possible to update the admin permission page to utilize the authorinfo around the subjects?

I copied the admin_perms.html to a project's templates folder & modified the line where $subject is ... with ${authorinfo(subject)}

This modification worked; but the subject's conversion are being reformatted to a truncated form ... maybe I am still missing something

RjOllos

unread,
Apr 13, 2020, 12:50:56 PM4/13/20
to Trac Users
Could you explain what you man by truncated form? Is it an obfuscated email address?

Which Trac version are you running?

Be sure to upgrade that template every time you upgrade your Trac instance.

- Ryan 

Adam Howell

unread,
Apr 13, 2020, 7:00:20 PM4/13/20
to Trac Users
I would explain it as a max length is being applied to the display.

My users that have a longer name shows less of their name. But users that have a shorter name show more of their names. If you need more information I'll attempt to build something here tomorrow

Ryan Ollos

unread,
Apr 14, 2020, 1:56:35 AM4/14/20
to Trac Users
On Mon, Apr 13, 2020 at 4:00 PM Adam Howell <ahow...@gmail.com> wrote:
I would explain it as a max length is being applied to the display.

My users that have a longer name shows less of their name. But users that have a shorter name show more of their names. If you need more information I'll attempt to build something here tomorrow

Is the truncation in the Permissions or Group Membership section? I assume the latter, in which case you'll have to override the CSS in admin.css.
 
Reply all
Reply to author
Forward
0 new messages