mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 21:56:55 -04:00
button to get to timeline
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
module IconsHelper
|
||||
include FontAwesome::Sass::Rails::ViewHelpers
|
||||
|
||||
def timeline_icon
|
||||
icon('far', 'calendar')
|
||||
end
|
||||
|
||||
def garden_icon
|
||||
image_icon 'home'
|
||||
end
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
= link_to member_gardens_path(member_slug: current_member.slug),
|
||||
class: 'btn btn-default', 'data-toggle': "tooltip", 'data-placement': "bottom", title: t('buttons.my_gardens') do
|
||||
= garden_icon
|
||||
|
||||
= link_to timeline_index_path,
|
||||
class: 'btn btn-default', 'data-toggle': "tooltip", 'data-placement': "bottom", title: t('buttons.timeline') do
|
||||
= timeline_icon
|
||||
|
||||
= link_to new_planting_path,
|
||||
class: 'btn btn-default', 'data-toggle': "tooltip", 'data-placement': "bottom", title: t('buttons.new_planting') do
|
||||
= planting_icon
|
||||
|
||||
Reference in New Issue
Block a user