mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-26 10:45:04 -04:00
* Swap to CSS for truncation * Adjust styling on mobile * Contain more * Contain more * All badges clip * Adjust badges to truncate again * Adjust badges to truncate again * Apply suggestions from code review
8 lines
299 B
Plaintext
8 lines
299 B
Plaintext
- if member.location.present?
|
|
= link_to place_path(member.location) do
|
|
%span.badge.badge-location{ title: member.location }
|
|
= icon 'fas', 'map-marker'
|
|
= truncate(member.location, length: 15, separator: ' ', omission: '... ')
|
|
- else
|
|
%span.badge.badge-location
|
|
unknown location |