def render_navbar(&block)
      action_link = get_action_link
      if !action_link
        action_link = CONFIG[:title_short]
      end
      html = content_tag(:div, id: 'navbar') do
        content_tag(:div, class: 'navbar-inner') do
          if current_lines_user
            content_tag(:span, class: 'buttons', &block) + "<div class='btn-menu'><div class='stripes'></div></div>".html_safe + 
            "<div class='submenu'>
              <div class='submenu-inner'>
                <ul>
                  <li>#{link_to("Dashboard", admin_articles_path)}</li>
                  <li>#{link_to(t('activerecord.models.lines/author', count: 2).html_safe, admin_authors_path)}</li>
                </ul>
                <ul>
                  <li class='small'>#{t('lines.logged_in_as').html_safe} #{current_lines_user.email}</li>
                  <li>#{link_to(t('lines.buttons.logout').html_safe, logout_path)}</li>
                </ul>
                <ul>
                  <li>#{link_to(t('lines.buttons.formating_help').html_safe, "#", class: "btn-cheatsheet")}</li>
                  <li>#{link_to(t('lines.buttons.about').html_safe, "http://lines.opoloo.com")}</li>
                </ul>
              </div>
            </div>".html_safe
          else
            content_tag(:span, link_to('', lines.root_path), class: 'backlink') + content_tag(:span, action_link, class: 'actionlink')
          end
        end
      end
      html    
    end
def render_navbar(&block)
      action_link = get_action_link
      if !action_link
        action_link = CONFIG[:title_short]
      end
      html = content_tag(:div, id: 'navbar') do
        content_tag(:div, class: 'navbar-inner') do
          if current_lines_user
            content_tag(:span, class: 'buttons', &block) + "<div class='btn-menu'><div class='stripes'></div></div>".html_safe + 
            "<div class='submenu'>
              <div class='submenu-inner'>
                <ul>
                  <li>#{link_to("Dashboard", admin_articles_path)}</li>
                  <li>#{link_to(t('activerecord.models.lines/author', count: 2).html_safe, admin_authors_path)}</li>
                </ul>
                <ul>
                  <li class='small'>#{t('lines.logged_in_as').html_safe} #{current_lines_user.email}</li>
                  <li>#{link_to(t('lines.buttons.logout').html_safe, logout_path)}</li>
                </ul>
                <ul>
                  <li>#{link_to(t('lines.buttons.formating_help').html_safe, "#", class: "btn-cheatsheet")}</li>
                  <li>#{link_to(t('lines.buttons.about').html_safe, "http://lines.opoloo.com")}</li>
                </ul>
              </div>
            </div>".html_safe
          else
            content_tag(:span, link_to('', lines.root_path), class: 'backlink') + content_tag(:span, action_link, class: 'actionlink')
          end
        end
      end
      html    
    end
Renders the navigation bar for logged in users