]> git.openstreetmap.org Git - rails.git/commit
Split the non-public information off of the profile page
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 28 Jul 2021 16:54:57 +0000 (17:54 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 18 Aug 2021 12:32:36 +0000 (13:32 +0100)
commitcb7b79a58f0337ab28b41ed5105215de302d3f73
tree6fd5c90daa29d3aa94422aa9e9fa5d5c8cd94ccd
parent7d46f5db6004f1e0555150c3f97c82185d76b837
Split the non-public information off of the profile page

This opens up many possibilities for more interesting things to be
shown on the dashboard, as well as making it easier to find if
you have lots of content in your profile.
12 files changed:
app/abilities/ability.rb
app/assets/stylesheets/common.scss
app/controllers/dashboards_controller.rb [new file with mode: 0644]
app/views/dashboards/_contact.html.erb [moved from app/views/users/_contact.html.erb with 93% similarity]
app/views/dashboards/_popup.html.erb [moved from app/views/users/_popup.html.erb with 100% similarity]
app/views/dashboards/show.html.erb [new file with mode: 0644]
app/views/layouts/_header.html.erb
app/views/users/show.html.erb
config/locales/en.yml
config/routes.rb
test/controllers/dashboards_controller_test.rb [new file with mode: 0644]
test/controllers/users_controller_test.rb