rosa-build/app/views/git/shared/_whereami.html.haml

11 lines
412 B
Plaintext
Raw Normal View History

%p#file-name1
= link_to @project.name, tree_path(@project, :treeish => @treeish.encode_to_default)
= File::SEPARATOR
- if @path.present?
- paths = File.split(@path)
- if paths.size > 1 and paths.first != '.'
- iterate_path(paths.first) do |path, name|
= link_to(name, tree_path(@project, @treeish, path)).encode_to_default
= File::SEPARATOR
= paths.last.encode_to_default