foodsoft/app/views/shared/_loginInfo.haml

10 lines
497 B
Text
Raw Normal View History

2009-01-06 11:49:19 +01:00
%ul
%li
2013-02-08 19:16:06 +01:00
= image_tag 'b_user.png' , :size => '7x10', :border => 0, :alt => t('.profile')
= link_to h(@current_user.nick), my_profile_path, { :title => t('.edit_profile') }
- if FoodsoftConfig[:homepage]
2013-02-08 19:16:06 +01:00
%li= link_to FoodsoftConfig[:name], FoodsoftConfig[:homepage], { :title => t('.homepage_title') }
%li= link_to t('.help'), FoodsoftConfig[:help_url]
%li= link_to t('.feedback.title'), new_feedback_path, :title => t('.feedback.desc')
%li= link_to t('.logout'), logout_path