| |
item.push_child(Element::new(Tag::Br));
|
| |
item.push_child(
|
| |
Element::new(Tag::Span)
|
| + |
.with_text("latest run at ")
|
| |
.with_text(run.timestamp())
|
| |
.with_child(Element::new(Tag::Br))
|
| + |
.with_text("broker run ID: ")
|
| + |
.with_child(
|
| + |
Element::new(Tag::Code)
|
| + |
.with_class("broker_run_id")
|
| + |
.with_text(run.broker_run_id().as_str()),
|
| + |
)
|
| + |
.with_child(Element::new(Tag::Br))
|
| + |
.with_text("adapter run ID: ")
|
| + |
.with_child(if let Some(id) = run.adapter_run_id() {
|
| + |
Element::new(Tag::Code)
|
| + |
.with_class("adapter_run_id")
|
| + |
.with_text(id.as_str())
|
| + |
} else {
|
| + |
Element::new(Tag::Span).with_text("unknown")
|
| + |
})
|
| + |
.with_child(Element::new(Tag::Br))
|
| |
.with_text(" ")
|
| |
.with_child(Self::whence_as_html(run.whence())),
|
| |
);
|