[openstreetmap/openstreetmap-website] Company Name on Profile Page (PR #5987)
Minh Nguyễn
notifications at github.com
Mon May 19 21:51:30 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" />
Similar to the location item above, the path should have a `title` containing alternative text for accessibility.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5987#pullrequestreview-2852069343
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5987/review/2852069343 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250519/c174f7c0/attachment.htm>
More information about the rails-dev
mailing list