Closed Bug 564561 Opened 16 years ago Closed 16 years ago

Separate Edit User links for the user / admin

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: fligtar, Assigned: wenzel)

Details

(Whiteboard: [z])

Attachments

(1 file)

There's a prettier Edit user link on user profile pages now, but when I go to it as an admin and click, it tries to go to the admin tools to edit the user. Let's make this two links in that section: Edit Profile - the logged in user sees this if it's their profile and goes to the edit profile page. Manage User - users with the right bit (Admin:EditAnyUser in remora) should see this and go to the admin tool for the user. If I'm an admin viewing my own profile I should see both links.
"Edit user" is a 404 right now too: File "/data/virtualenvs_preview/zamboni_a/lib/python2.6/site-packages/django/contrib/admin/widgets.py", line 235, in render output = [self.widget.render(name, value, *args, **kwargs)] File "/data/amo_python/www/preview/zamboni/apps/translations/widgets.py", line 44, in render languages=languages) File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 705, in render return self.environment.handle_exception(exc_info, True) File "/data/amo_python/www/preview/zamboni/apps/translations/templates/translations/transbox.html", line 1, in top-level template code <div id="{{ id }}" class="trans tab-wrapper" data-field="{{ name }}"> KeyError: 'f'
Assignee: nobody → fwenzel
(In reply to comment #0) > There's a prettier Edit user link on user profile pages now, but when I go to > it as an admin and click, it tries to go to the admin tools to edit the user. Yea that's the only link there was so far. I implemented (and tested) both buttons now according to comment 0, though. http://github.com/jbalogh/zamboni/commits/d6025a8 Wil: I can't confirm this, wfm. If you can reproduce it somehow though, you should prolly file another bug.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
For an admin user,there are two links on "View Profile" page.Calling this fixed.See post-fix screenshot.
Status: RESOLVED → VERIFIED
Attached image post-fix screenshot
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: