Display bucket owner name on copy bucket in webstaff
client.
Signed-off-by: Kyle Huckins <khuckins@catalystdevworks.com>
Changes to be committed:
modified: Open-ILS/src/templates/staff/cat/bucket/copy/t_bucket_info.tt2
modified: Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js
</ng-pluralize>
</span>
<span> / [% l('Created {{bucket().create_time() | date}}') %]</span>
+ <span ng-show="bucket()._owner_name"> / {{bucket()._owner_name}}</span>
<span ng-show="bucket().description()"> / {{bucket().description()}}</span>
</div>
deferred.reject(evt);
return;
}
+ egCore.pcrud.retrieve(
+ 'au', bucket.owner()
+ ).then(function(patron) {
+ bucket._owner_name = patron.usrname();
+ });
+
service.currentBucket = bucket;
deferred.resolve(bucket);
});