xmpp.chapril.org-conversejs/src/templates/headline_panel.js
JC Brand 11cd6b8321 Fixes #2193.
Translations called at the top of template files don't apply, since the
trnaslations aren't yet fetched at that point.
2020-08-16 23:45:53 +02:00

11 lines
359 B
JavaScript

import { html } from "lit-html";
import tpl_headline_list from "templates/headline_list.js";
export default (o) => html`
<div class="d-flex controlbox-padded ${ o.headlineboxes.length ? '' : 'hidden' }">
<span class="w-100 controlbox-heading controlbox-heading--headline">${o.heading_headline}</span>
</div>
${ tpl_headline_list(o) }
`;