20 lines
739 B
JavaScript
20 lines
739 B
JavaScript
import { html } from "lit";
|
|
|
|
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>
|
|
<a class="accept-xmpp-request list-item-action list-item-action--visible"
|
|
@click=${o.acceptRequest}
|
|
aria-label="${o.desc_accept}" title="${o.desc_accept}" href="#">
|
|
|
|
<converse-icon class="fa fa-check" size="1em"></converse-icon>
|
|
</a>
|
|
|
|
<a class="decline-xmpp-request list-item-action list-item-action--visible"
|
|
@click=${o.declineRequest}
|
|
aria-label="${o.desc_decline}" title="${o.desc_decline}" href="#">
|
|
|
|
<converse-icon class="fa fa-times" size="1em"></converse-icon>
|
|
</a>`;
|