Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
feat: add link to front page to the per-repository report page
Merged liw opened 1 year ago

Signed-off-by: Lars Wirzenius liw@liw.fi

1 file changed +9 -0 10b6e6da 26d55f06
modified src/pages.rs
@@ -270,7 +270,16 @@ impl PageData {
        let title = format!("CI runs for repository {}", alias);
        Self::head(&mut doc, &title);

+
        doc.push_to_body(
+
            Element::new(Tag::P).with_child(
+
                Element::new(Tag::A)
+
                    .with_attribute("href", "../index.html")
+
                    .with_text("Front page"),
+
            ),
+
        );
+

        Self::h1(&mut doc, &title);
+

        doc.push_to_body(
            Element::new(Tag::P).with_text("Repository ID ").with_child(
                Element::new(Tag::Code)