Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
feat: add link to front page to the per-repository report page
Lars Wirzenius committed 1 year ago
commit 26d55f0604218e2705ca303343f1aecd647a42bf
parent 10b6e6da9ecc6c71c6a507a098f4b172a2989a9a
1 file changed +9 -0
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)