app/views/tenon/shared/menu_items/_events.html.haml in tenon-1.1.4 vs app/views/tenon/shared/menu_items/_events.html.haml in tenon-1.1.5
- old
+ new
@@ -1,6 +1,6 @@
- if can?(:index, Event)
= tenon_menu_item item, events_path, :active => is_active("events"), :submenu => can?(:create, Event)
- if can?(:create, Event)
%ul.tenon_submenu{ :class => is_active(["events"]) ? "#{item} active" : item }
- = link_to "New Event", new_event_path, :class => ("active" if is_active(["events"]) && params[:action] == "new")
- .spacer
\ No newline at end of file
+ = link_to t('tenon.events.new_event'), new_event_path, :class => ("active" if is_active(["events"]) && params[:action] == "new")
+ .spacer