xmpp.chapril.org-conversejs/src/plugins/rosterview/templates/requesting_contact.js

13 lines
615 B
JavaScript
Raw Normal View History

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 fa fa-check"
2021-01-26 14:01:37 +01:00
@click=${o.acceptRequest}
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}
aria-label="${o.desc_decline}" title="${o.desc_decline}" href="#"></a>`;