- if current_user.timesheets.exists?
  %li
    = link_to "All your timesheets", user_timesheets_path(current_user)
- if current_user.current_timesheet
  %li
    = link_to "Your current timesheet", [:edit, current_user, current_user.current_timesheet]
    .current-timesheet-ending-time.hidden= current_user.current_timesheet.end_date

- if current_user.timesheets.exists?
  %li.dropdown
    %a.dropdown-toggle{"data-toggle" => "dropdown", href: "#"}
      Timesheets
      %b.caret
    %ul.dropdown-menu
      %li
        = link_to "All your timesheets", user_timesheets_path(current_user)
      - if current_user.current_timesheet
        %li
          = link_to "Your current timesheet", [:edit, current_user, current_user.current_timesheet]
          .current-timesheet-ending-time.hidden= current_user.current_timesheet.end_date

Add time sheets drop down in the top menu
Add time sheets drop down in the top menu