web: add EventInfoPage

This commit is contained in:
Jens Langhammer
2021-02-04 21:28:01 +01:00
parent 9f478bb46a
commit 580d59e921
3 changed files with 55 additions and 3 deletions

View File

@ -1,3 +1,4 @@
import { gettext } from "django";
import { html, TemplateResult } from "lit-html";
import { ifDefined } from "lit-html/directives/if-defined";
import { Table } from "./Table";
@ -26,9 +27,9 @@ export abstract class TablePage<T> extends Table<T> {
<div class="pf-c-content">
<h1>
<i class="${this.pageIcon()}"></i>
${this.pageTitle()}
${gettext(this.pageTitle())}
</h1>
${description ? html`<p>${description}</p>` : html``}
${description ? html`<p>${gettext(description)}</p>` : html``}
</div>
</section>
<section class="pf-c-page__main-section pf-m-no-padding-mobile">