aboutsummaryrefslogtreecommitdiff
path: root/ui/src/components/node_page.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/node_page.rs')
-rw-r--r--ui/src/components/node_page.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/ui/src/components/node_page.rs b/ui/src/components/node_page.rs
index 9be20f2..7deaf61 100644
--- a/ui/src/components/node_page.rs
+++ b/ui/src/components/node_page.rs
@@ -143,8 +143,15 @@ markup::define! {
tr { th {"Attribute"} th {"Source"} }
@for (key, source) in node.get(NO_METASOURCE).unwrap_or_default().entries::<Tag>() { tr {
td { @tr(ri.lang, &format!("tag.{key}")) }
- td { @tr(ri.lang, &format!("tag.msrc.{source}")) }
+ td { @tr(ri.lang, &format!("tag.msrc.{source}")) }
}}
+ @for nkey in [NO_PICTURES, NO_IDENTIFIERS, NO_RATINGS] {
+ @let nob = node.get(nkey).unwrap_or_default();
+ @for (key, source) in nob.get(NO_METASOURCE).unwrap_or_default().entries::<Tag>() { tr {
+ td { @tr(ri.lang, &format!("tag.{nkey}")) ": " @tr(ri.lang, &format!("tag.{nkey}.{key}")) }
+ td { @tr(ri.lang, &format!("tag.msrc.{source}")) }
+ }}
+ }
}
}
}