[openstreetmap/openstreetmap-website] Company Name on Profile Page (PR #5987)

Minh Nguyễn notifications at github.com
Mon May 19 21:49:20 UTC 2025


@1ec5 commented on this pull request.



> @@ -153,6 +153,14 @@
               </dt>
               <dd class="list-inline-item"><%= @user.home_location_name %></dd>
             <% end %>
+            <% if @user.company&.strip.present? %>
+              <dt class="list-inline-item m-0 align-text-bottom">
+                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-suitcase-lg-fill" viewBox="0 0 16 16">
+                  <path d="M7 0a2 2 0 0 0-2 2H1.5A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14H2a.5.5 0 0 0 1 0h10a.5.5 0 0 0 1 0h.5a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2H11a2 2 0 0 0-2-2zM6 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1zM3 13V3h1v10zm9 0V3h1v10z" />
+                </svg>
+              </dt>
+              <dd class="list-inline-item"><%= @user.company %></dd>

> Maybe optimistically linking to a matching wiki page could help by giving the user a way to verify for themselves.

For what it’s worth, I think a verification system (whether based on the wiki or backlinks or whatever) can be separate from this PR. The existing reporting system can probably keep things from getting out of hand in the meantime. If we’re concerned about impersonation in the meantime, we could add a tooltip to this box indicating that the company affiliation is self-reported.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5987#pullrequestreview-2852066222
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5987/review/2852066222 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250519/620e4929/attachment-0001.htm>


More information about the rails-dev mailing list