User Activity Report page should link back to the user's profile.
Categories
(bugzilla.mozilla.org :: Extensions, enhancement)
Tracking
()
People
(Reporter: KWierso, Assigned: KWierso)
Details
Attachments
(2 files)
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
Mmm, so who is the email address, but the links to user profiles use the numeric user id. Is there some way to translate email to id?
Comment 5•6 years ago
•
|
||
(In reply to Wes Kocher (:KWierso) from comment #4)
Mmm, so
whois the email address, but the links to user profiles use the numeric user id. Is there some way to translate email to id?
Yeah who is the query parameter passed to the form so it will normally always be the email address in string form.
The place you would need to add addition code is:
such as:
$var->{user} = Bugzilla::User->new({ name => $input->{who}, cached => 1 });
And then in the template:
You could add something like:
<p>
<a href="[% basepath FILTER none %]user_profile?user_id=[% user.id FILTER uri %]">User Profile</a>
</p>
Comment 6•6 years ago
•
|
||
dkl, can I make you a mentor on this? We're in season for contributions for Outreachy.
Nevermind, Wes is taking it.
Comment 7•6 years ago
|
||
Removing good-first-bug keyword because team does not have bandwidth to mentor at the moment.
Updated•6 years ago
|
| Assignee | ||
Comment 8•5 years ago
|
||
Totally untested, as I'm having issues getting docker or vagrant to run things locally.
Comment 9•5 years ago
|
||
@KWierso hmm, that's weird about the docker/vagrant issues.
If you have some spare time and you want to dig in, I've been working on this tooling recently.
Ping me on Matrix (@mitchhentges:mozilla.org) and we can figure out why it's not working :)
Description
•