Render credential reviews and improve responsive web views

This commit is contained in:
2026-11-12 08:57:30 +00:00
parent 0b79bb4227
commit 85080bb74e
6 changed files with 136 additions and 41 deletions
+5 -1
View File
@@ -68,7 +68,11 @@ fn rules_text(rules: &[super::items::Rule]) -> String {
));
}
}
format!("Rules: {}.", hosts.join(", "))
if hosts.is_empty() {
"No access rules. This item cannot match a request.".into()
} else {
format!("Rules: {}.", hosts.join(", "))
}
}
fn creation(config: &super::items::Item) -> String {
format!(