mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
remove extra lines
This commit is contained in:
parent
6a9a312b00
commit
37c3c0cc4e
1 changed files with 6 additions and 8 deletions
14
src/main.rs
14
src/main.rs
|
|
@ -94,14 +94,12 @@ fn index(
|
|||
}
|
||||
})
|
||||
.collect::<Vec<R>>(),
|
||||
pagination_totals: if total > 0 {
|
||||
Some(format!(
|
||||
"Page {} / {} ({total} {} total)",
|
||||
page.unwrap_or(1),
|
||||
(total as f64 / public.default_limit as f64).ceil(),
|
||||
total.plurify(&["torrent", "torrents", "torrents"])
|
||||
))
|
||||
} else { None },
|
||||
pagination_totals: if total > 0 { Some(format!(
|
||||
"Page {} / {} ({total} {} total)",
|
||||
page.unwrap_or(1),
|
||||
(total as f64 / public.default_limit as f64).ceil(),
|
||||
total.plurify(&["torrent", "torrents", "torrents"])
|
||||
)) } else { None },
|
||||
search
|
||||
},
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue