From: Tobias Jordans Date: Sat, 2 Jan 2021 21:48:25 +0000 (+0100) Subject: Traces: Migrate pagination to bootstrap X-Git-Tag: live~3111^2~1 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/18ec2730389a92a74fd3fd6d85c22c7403fdbf74?hp=18ec2730389a92a74fd3fd6d85c22c7403fdbf74 Traces: Migrate pagination to bootstrap Same feature, different style. - Change pagination to use bootstrap default styles - … but with empty span-tags instead of non-active a-tags - refactor partial to not use @-variables but get the variables via the render-call, simplify render-call-syntax - remove the additional `if @traces.size > 1` inside the pagination partial since that caused the pagination to disappear on the last page. The partial will be visible with inactive links. - Add bootstrap spacer-classes to overwrite commons-css so removing. Eg. commons also has a pagination class same as bootstrap. ---