2021-04-14 22:56:59 +02:00
|
|
|
import { html } from "lit";
|
2020-12-28 21:04:44 +01:00
|
|
|
|
2022-04-14 23:39:01 +02:00
|
|
|
export default (o) => html`
|
|
|
|
<a class="open-chat w-100" href="#" @click=${o.openChat}>
|
|
|
|
<span class="req-contact-name w-100" title="JID: ${o.jid}">${o.display_name}</span>
|
|
|
|
</a>
|
2020-12-28 21:04:44 +01:00
|
|
|
<a class="accept-xmpp-request list-item-action list-item-action--visible fa fa-check"
|
2021-01-26 14:01:37 +01:00
|
|
|
@click=${o.acceptRequest}
|
2020-12-28 21:04:44 +01:00
|
|
|
aria-label="${o.desc_accept}" title="${o.desc_accept}" href="#"></a>
|
|
|
|
<a class="decline-xmpp-request list-item-action list-item-action--visible fa fa-times"
|
2021-01-26 14:01:37 +01:00
|
|
|
@click=${o.declineRequest}
|
2020-12-28 21:04:44 +01:00
|
|
|
aria-label="${o.desc_decline}" title="${o.desc_decline}" href="#"></a>`;
|