mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Removing spans on follow icons as these show up as blank spaces when no data to fill.
This commit is contained in:
@@ -19,19 +19,15 @@
|
||||
- if @group.facebook.present? || @group.twitter.present? || @group.linkedin.present? || @group.instagram.present?
|
||||
%div.modal-centered.pad-top
|
||||
%p.modal-header Follow
|
||||
.follow-icons{bindonce: true}
|
||||
%span
|
||||
=link_to_service "http://twitter.com/", @group.twitter do
|
||||
%i.ofn-i_041-twitter
|
||||
%span
|
||||
=link_to_service "https://www.facebook.com/", @group.facebook do
|
||||
%i.ofn-i_044-facebook
|
||||
%span
|
||||
=link_to_service "https://www.linkedin.com/in/", @group.linkedin do
|
||||
%i.ofn-i_042-linkedin
|
||||
%span
|
||||
=link_to_service "http://instagram.com/", @group.instagram do
|
||||
%i.ofn-i_043-instagram
|
||||
.follow-icons{bindonce: true}
|
||||
=link_to_service "http://twitter.com/", @group.twitter do
|
||||
%i.ofn-i_041-twitter
|
||||
=link_to_service "https://www.facebook.com/", @group.facebook do
|
||||
%i.ofn-i_044-facebook
|
||||
=link_to_service "https://www.linkedin.com/in/", @group.linkedin do
|
||||
%i.ofn-i_042-linkedin
|
||||
=link_to_service "http://instagram.com/", @group.instagram do
|
||||
%i.ofn-i_043-instagram
|
||||
|
||||
%div{bindonce: true}
|
||||
- if @group.address1.present? || @group.city.present?
|
||||
|
||||
Reference in New Issue
Block a user