fn(language$990, hash$0, response$1) =>
@html-ui.page(
language: $990,
title: @core.string-concat(
left: @html-ui.text(language: $990, en: "Event ", ja: "イベント ", eo: "Evento "),
right: @core.string-slice(value: $0, start: 0, end: 10)
),
body: @html.concat(
lists: [
[
@html.element(
name: "nav",
attributes: [],
children: [
@html.element(
name: "a",
attributes: [{name: "href", value: "/events"}],
children: [@html.text(text: @html-ui.text(language: $990, en: "Events", ja: "イベント", eo: "Eventoj"))]
)
]
),
@html.element(
name: "h1",
attributes: [],
children: [
@html.text(text: @html-ui.text(language: $990, en: "Event ", ja: "イベント ", eo: "Evento ")),
@html.element(name: "code", attributes: [], children: [@html.text(text: $0)])
]
)
],
@html-ui.error-text(response: $1),
@html-ui.event-lines-html(language: $990, text: $1.text)
]
)
)