Fix avatar icon of attachments created by

This commit is contained in:
kolaente 2020-11-12 21:32:53 +01:00
parent cd02929a8f
commit 309b02d766
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@
<th>Size</th> <th>Size</th>
<th>Type</th> <th>Type</th>
<th>Date</th> <th>Date</th>
<th>Created By</th> <th>Created&nbsp;By</th>
<th>Action</th> <th>Action</th>
</tr> </tr>
<tr :key="a.id" class="attachment" v-for="a in attachments"> <tr :key="a.id" class="attachment" v-for="a in attachments">
@ -47,8 +47,8 @@
<td>{{ a.file.getHumanSize() }}</td> <td>{{ a.file.getHumanSize() }}</td>
<td>{{ a.file.mime }}</td> <td>{{ a.file.mime }}</td>
<td v-tooltip="formatDate(a.created)">{{ formatDateSince(a.created) }}</td> <td v-tooltip="formatDate(a.created)">{{ formatDateSince(a.created) }}</td>
<td> <td class="has-text-centered">
<user :avatar-size="30" :user="a.createdBy"/> <user :avatar-size="30" :user="a.createdBy" :show-username="false" :is-inline="true"/>
</td> </td>
<td> <td>
<div class="buttons has-addons"> <div class="buttons has-addons">
@ -89,7 +89,7 @@
<modal <modal
@close="showDeleteModal = false" @close="showDeleteModal = false"
v-if="showDeleteModal" v-if="showDeleteModal"
v-on:submit="deleteAttachment()"> @submit="deleteAttachment()">
<span slot="header">Delete attachment</span> <span slot="header">Delete attachment</span>
<p slot="text">Are you sure you want to delete the attachment {{ attachmentToDelete.file.name }}?<br/> <p slot="text">Are you sure you want to delete the attachment {{ attachmentToDelete.file.name }}?<br/>
<b>This CANNOT BE UNDONE!</b></p> <b>This CANNOT BE UNDONE!</b></p>