This issue is a follow up for #2043541: Show file usage in summary where the usage column was introduced. After having another look at admin/content/file I came to the conclusion that the table could be cleaned up a bit by merging the the usage operation link with the usage count in the usage column. This is also where you would expect a link to a page which provides more information about the usage of a file, thus also increasing UX.

Attached patch fixes this issue.

Comments

aaron’s picture

Status: Needs review » Reviewed & tested by the community

Brilliant!

aaron’s picture

devin carlson’s picture

Status: Reviewed & tested by the community » Needs work

This looks good but can the wording be made consistent with the usage operations link already in Drupal 8? :)

legolasbo’s picture

Status: Needs work » Needs review
StatusFileSize
new3.25 KB

I've altered the wording to be consistent with the usage operation link in Drupal 8 and while i was at it I altered the usage page to be more consistent with Drupal 8 as well.

dave reid’s picture

StatusFileSize
new3.66 KB

Revised patch that reverted the user_load_multiple() removal and uses format_plural to format the usage count.

dave reid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.