show sender and recipient addresses in ticket view
This commit is contained in:
parent
04f774404a
commit
027cf4fca4
1 changed files with 13 additions and 9 deletions
|
@ -4,25 +4,29 @@
|
||||||
<i class="avatar | small">
|
<i class="avatar | small">
|
||||||
<font-awesome-icon icon="user"/>
|
<font-awesome-icon icon="user"/>
|
||||||
</i>
|
</i>
|
||||||
<span><a href="#">$USER</a> commented on <time
|
<span><!--a href="#">$USER</a--> sent by <span class="badge badge-primary">{{ item.sender }} </span> on <time
|
||||||
:datetime="timestamp">{{ timestamp }}</time></span>
|
:datetime="timestamp">{{ timestamp }}</time>
|
||||||
|
to <span class="badge badge-secondary ml-1">{{ item.recipient }}</span>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="card bg-dark">
|
<div class="card bg-dark">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
{{ item.subject }}
|
{{ item.subject }}
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p><span v-html="body"></span></p>
|
<p><span v-html="body"></span></p>
|
||||||
<!--button class="button">👏 2</button>
|
<!--button class="button">👏 2</button>
|
||||||
<button class="button | square">
|
<button class="button | square">
|
||||||
<font-awesome-icon icon="user"/>
|
<font-awesome-icon icon="user"/>
|
||||||
</button-->
|
</button-->
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer" v-if="item.attachments.length">
|
<div class="card-footer" v-if="item.attachments.length">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="attachment in item.attachments">
|
<li v-for="attachment in item.attachments">
|
||||||
<AuthenticatedImage :src="`/media/2/256/${attachment.hash}/`" :alt="attachment.name" v-if="attachment.mime_type.startsWith('image/')"/>
|
<AuthenticatedImage :src="`/media/2/256/${attachment.hash}/`" :alt="attachment.name"
|
||||||
<AuthenticatedDataLink :href="`/media/2/256/${attachment.hash}/`" :download="attachment.name" v-else/>
|
v-if="attachment.mime_type.startsWith('image/')"/>
|
||||||
|
<AuthenticatedDataLink :href="`/media/2/256/${attachment.hash}/`" :download="attachment.name"
|
||||||
|
v-else/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue