summaryrefslogtreecommitdiff
path: root/src/render/mod.rs
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2017-05-26 06:44:52 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2017-05-26 06:54:51 -0400
commitdd3406a9b60e1fb9308f1e68e247aa8f67e440b4 (patch)
treed1f65b05cde9b32b9345f8e4ccbea6dbb0060d83 /src/render/mod.rs
parent8d414d7b8fdcad0466f413419d37edc1ebf922d0 (diff)
Add minimial unit details page.
Diffstat (limited to 'src/render/mod.rs')
-rw-r--r--src/render/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/mod.rs b/src/render/mod.rs
index 49c3086..f7ad1d1 100644
--- a/src/render/mod.rs
+++ b/src/render/mod.rs
@@ -23,7 +23,9 @@ fn unit_table<'a>(units: &'a [&unit::Unit]) -> Box<RenderBox + 'a> {
box_html! {
tr {
td {
- : &unit.name
+ a(href=format_args!("/status/{}", &unit.name)) {
+ : &unit.name
+ }
}
td {
: format_args!("{} ({})",