Fixed #22792 -- Updated checks for list_display_links in model admin

Thanks to @bendavis78 for the report.
I have removed the nested `if` from here, and made it part of the `elif` above it instead. This way it will go to the `elif not field.editable` instead of returning. Will update the commit shortly.