Show counts for lists
This commit is contained in:
parent
4f169bc8fd
commit
8aff438f98
|
@ -147,7 +147,7 @@ async fn show(
|
|||
@if !children.is_empty() {
|
||||
div .d-flex.justify-content-between.mt-4 {
|
||||
div {
|
||||
h3 { "Direct Children" }
|
||||
h3 { "Direct Children (" (children.len()) ")" }
|
||||
}
|
||||
div {
|
||||
(PageActionGroup::generate_labels(
|
||||
|
|
|
@ -125,7 +125,7 @@ async fn show(
|
|||
}
|
||||
|
||||
@if !children.is_empty() {
|
||||
h3 .mt-4 { "Children" }
|
||||
h3 .mt-4 { "Children (" (children.len()) ")" }
|
||||
|
||||
ul {
|
||||
@for child in children {
|
||||
|
@ -139,7 +139,7 @@ async fn show(
|
|||
@if !items.is_empty() {
|
||||
div .d-flex.justify-content-between.mt-4 {
|
||||
div {
|
||||
h3 { "Items" }
|
||||
h3 { "Items (" (items.len()) ")" }
|
||||
}
|
||||
div {
|
||||
(PageActionGroup::generate_labels(
|
||||
|
|
Loading…
Reference in a new issue