mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 09:05:30 +00:00
remove extra lines
This commit is contained in:
parent
6a9a312b00
commit
37c3c0cc4e
1 changed files with 6 additions and 8 deletions
|
|
@ -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
|
||||||
},
|
},
|
||||||
))
|
))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue