remove extra lines

This commit is contained in:
yggverse 2025-08-11 19:50:41 +03:00
parent 6a9a312b00
commit 37c3c0cc4e

View file

@ -94,14 +94,12 @@ fn index(
} }
}) })
.collect::<Vec<R>>(), .collect::<Vec<R>>(),
pagination_totals: if total > 0 { pagination_totals: if total > 0 { Some(format!(
Some(format!( "Page {} / {} ({total} {} total)",
"Page {} / {} ({total} {} total)", page.unwrap_or(1),
page.unwrap_or(1), (total as f64 / public.default_limit as f64).ceil(),
(total as f64 / public.default_limit as f64).ceil(), total.plurify(&["torrent", "torrents", "torrents"])
total.plurify(&["torrent", "torrents", "torrents"]) )) } else { None },
))
} else { None },
search search
}, },
)) ))