Project

General

Profile

Patch #21947 » 0001-Add-additional-markup-to-page_header_title-to-enable.patch

Jan from Planio www.plan.io, 2016-02-04 07:49

View differences:

app/helpers/application_helper.rb
494 494
        end
495 495
        b += ancestors.collect {|p| link_to_project(p, {:jump => current_menu_item}, :class => 'ancestor') }
496 496
      end
497
      b << h(@project)
498
      b.join(" \xc2\xbb ").html_safe
497
      b << content_tag(:span, h(@project), class: 'current-project')
498
      if b.size > 1
499
        separator = content_tag(:span, ' &raquo; '.html_safe, class: 'separator')
500
        path = safe_join(b[0..-2], separator) + separator
501
        b = [content_tag(:span, path.html_safe, class: 'breadcrumbs'), b[-1]]
502
      end
503
      safe_join b
499 504
    end
500 505
  end
501 506

  
(1-1/7)