Removed hardcoded URLs in admin template.
Merge pull request #2737 from timgraham/hardcoded_admin_perms

Removed hardcoded URLs in admin template.