Refactor `admin_links` helper