diff --git a/layouts/partials/_events_tile.erb b/layouts/partials/_events_tile.erb index e19d22c..6047772 100644 --- a/layouts/partials/_events_tile.erb +++ b/layouts/partials/_events_tile.erb @@ -8,7 +8,7 @@ <% end %>
-
+

<%= @event[:title] %> @@ -16,9 +16,9 @@

- <%= @event[:time].strftime('%A %d %B %Y %H:%M') %> + <%= fa :'clock-o' , fw: true %><%= @event[:time].strftime('%A %d %B %Y %H:%M') %>
- <%= @event[:location] %> + <%= fa :'map-marker', fw: true %><%= @event[:location] %>
diff --git a/lib/helpers/font_awesome.rb b/lib/helpers/font_awesome.rb index 293b304..563e408 100644 --- a/lib/helpers/font_awesome.rb +++ b/lib/helpers/font_awesome.rb @@ -6,6 +6,7 @@ module FontAwesomeHelper classes << 'fa-li' if opts[:li] classes << "fa-stack-#{opts[:stack]}" if opts[:stack] classes << 'fa-inverse' if opts[:inverse] + classes << 'fa-fw' if opts[:fw] classes << opts[:class] ""