]> git.openstreetmap.org Git - rails.git/commit
Show linked features as collapsable detail panels on feature browse pages
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Sep 2020 13:25:27 +0000 (15:25 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Sep 2020 13:28:03 +0000 (15:28 +0200)
commitb4b59df75e4048eaebff7c7efeeee66aa3bfa5a3
tree648a898cc39d8080045755836670d60e67344d75
parentf70ec189894ef6bc37355cad7990420065a0b2cb
Show linked features as collapsable detail panels on feature browse pages

Fixes #2823

The panels are collapsed by default, when there is a long list of features, but
open on short lists to save on clicks. 10 items is arbitrary but seemed reasonable.
app/views/browse/_node.html.erb
app/views/browse/_relation.html.erb
app/views/browse/_way.html.erb
config/locales/en.yml