show sender and recipient addresses in ticket view

This commit is contained in:
j3d1 2024-01-14 19:02:01 +01:00
parent 04f774404a
commit 027cf4fca4

View file

@ -4,8 +4,10 @@
<i class="avatar | small">
<font-awesome-icon icon="user"/>
</i>
<span><a href="#">$USER</a> commented on <time
:datetime="timestamp">{{ timestamp }}</time></span>
<span><!--a href="#">$USER</a--> sent by <span class="badge badge-primary">{{ item.sender }} </span> on <time
:datetime="timestamp">{{ timestamp }}</time>
to <span class="badge badge-secondary ml-1">{{ item.recipient }}</span>
</span>
</div>
<div class="card bg-dark">
<div class="card-header">
@ -21,8 +23,10 @@
<div class="card-footer" v-if="item.attachments.length">
<ul>
<li v-for="attachment in item.attachments">
<AuthenticatedImage :src="`/media/2/256/${attachment.hash}/`" :alt="attachment.name" v-if="attachment.mime_type.startsWith('image/')"/>
<AuthenticatedDataLink :href="`/media/2/256/${attachment.hash}/`" :download="attachment.name" v-else/>
<AuthenticatedImage :src="`/media/2/256/${attachment.hash}/`" :alt="attachment.name"
v-if="attachment.mime_type.startsWith('image/')"/>
<AuthenticatedDataLink :href="`/media/2/256/${attachment.hash}/`" :download="attachment.name"
v-else/>
</li>
</ul>
</div>