mailr/app/views/common/_main_navigation.html.haml

22 lines
637 B
Plaintext
Raw Normal View History

2012-03-24 13:23:34 +01:00
- messages ||= ""
- compose ||= ""
- folders ||= ""
- contacts ||= ""
- prefs ||= ""
- links ||= ""
%ul{:class=>"nav nav-pills"}
%li{:class=>"#{messages}"}
2012-03-30 19:31:23 +02:00
= link_to( t(:messages,:scope=>:message), messages_path )
2012-03-24 13:23:34 +01:00
%li{:class=>"#{compose}"}
= link_to( t(:compose,:scope=>:compose), compose_path )
%li{:class=>"#{folders}"}
= link_to( t(:folders,:scope=>:folder), folders_path )
%li{:class=>"#{contacts}"}
= link_to( t(:contacts,:scope=>:contact), contacts_path )
%li{:class=>"#{links}"}
= link_to( t(:links,:scope=>:link), links_path )
2012-03-30 19:31:23 +02:00
%li{:class=>"#{prefs}"}
= link_to( t(:prefs,:scope=>:prefs), prefs_look_path )
2012-03-24 13:23:34 +01:00