i18n the image labels and title for the asset manager, manage screen.

Also, display the username instead of the userId.
This commit is contained in:
Colin Kuskie 2009-02-06 19:32:05 +00:00
parent 911e30c43c
commit 6be6c0bb11
3 changed files with 20 additions and 6 deletions

View file

@ -287,7 +287,7 @@ sub www_ajaxGetManagerPage {
revisionDate => $asset->get( "revisionDate" ),
childCount => $asset->getChildCount,
assetSize => $asset->get( 'assetSize' ),
lockedBy => $asset->get( 'isLockedBy' ),
lockedBy => ($asset->get( 'isLockedBy' ) ? $asset->lockedBy->username : ''),
actions => $asset->canEdit && $asset->canEditIfLocked,
);