[openstreetmap/openstreetmap-website] add icon for OSMF membership to user page (#1914)
datendelphin
notifications at github.com
Sun Jun 24 11:46:48 UTC 2018
Add an icon for OSMF membership, similar to user roles.
Creates a new table for memberships, and adds an optional setting
on the user settings page to select if the user wants the
membership to be displayed on to user page or not.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1914
-- Commit Summary --
* add icon for OSMF membership to user page
-- File Changes --
A app/assets/images/membership/OSMF.png (0)
A app/assets/images/membership/OSMF.svg (200)
M app/controllers/user_controller.rb (11)
A app/helpers/user_membership_helper.rb (24)
M app/models/user.rb (14)
A app/models/user_membership.rb (21)
M app/views/user/account.html.erb (15)
M app/views/user/view.html.erb (2)
M config/locales/en.yml (3)
A db/migrate/20180616202225_create_user_memberships.rb (20)
M db/structure.sql (61)
M test/factories/user.rb (6)
A test/factories/user_membership.rb (5)
A test/integration/user_membership_test.rb (68)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1914.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1914.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1914
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180624/c17f070f/attachment.html>
More information about the rails-dev
mailing list