Attachments now display username of uploader. Fixes #72.

This commit is contained in:
kiswa 2014-11-14 08:19:52 -05:00
parent 903db75ef7
commit 2252e34ccb

View File

@ -45,7 +45,7 @@
data-ng-repeat="attachment in viewItem.ownAttachment" data-ng-class-even="'alternate'">
{{ attachment.name }}
<span class="detail">
Uploaded by {{ userNames[attachment.userId] }} on {{ attachment.date }}
Uploaded by {{ userNames[attachment.user_id] }} on {{ attachment.date }}
</span>
<span class="links pull-right" data-ng-show="attachmentDeleting[attachment.id]">
<span class="fa fa-refresh fa-spin"></span> Deleting...