.row
  .six.columns
    %a{:href => root_url(:subdomain => false)}
      = image_tag('courseware.png', :alt => 'The Courseware Project')
  .six.columns.align-right
    - if logged_in?
      .small.button.dropdown.naked
        %a{:href => '#'}
          .avatar
            = gravatar_image_tag(current_user.email, :alt => current_user.name, :gravatar => {:size => 32})
        %span
        %ul
          - if logged_in?
            %li
              = link_to _('Dashboard'), dashboard_home_url(:subdomain => false)
            %li
              = link_to _('Profile'), me_users_url(:subdomain => false)
            %li
              = link_to _('Logout'), logout_url(:subdomain => false)

.row
  .six.columns
    %a{:href => root_url(:subdomain => false)}
      = image_tag('courseware.png', :alt => 'The Courseware Project')
  .six.columns.align-right
    - if logged_in?
      .small.button.dropdown.naked
        %a{:href => '#'}
          .avatar
            = gravatar_image_tag(current_user.email, :alt => current_user.name, :gravatar => {:size => 32})
        %span
        %ul
          - if logged_in?
            %li
              = link_to _('Dashboard'), dashboard_home_url(:subdomain => false)
            %li
              = link_to _('Profile'), me_users_url(:subdomain => false)
            %li
              = link_to _('Invite a friend'), invite_users_url(:subdomain => false)
            %li
              = link_to _('Logout'), logout_url(:subdomain => false)

Add invitation item to the top menu.
Add invitation item to the top menu.
