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

David Tsiklauri notifications at github.com
Wed May 21 08:25:46 UTC 2025


@nertc 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>

Tooltip was added to the `company` to explicitly mention information about self-report and verification.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5987/review/2856788711 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250521/2c2aad6d/attachment.htm>


More information about the rails-dev mailing list