[refs #265] shit

This commit is contained in:
Alexander Machehin 2012-03-17 00:55:03 +06:00
parent dd5f51de71
commit 22d7f8d975
2 changed files with 3 additions and 3 deletions

View File

@ -28,11 +28,11 @@
- if entry.is_a? Grit::Blob - if entry.is_a? Grit::Blob
.pic= image_tag 'code.png' .pic= image_tag 'code.png'
.name .name
= link_to(entry.name, blob_path(@project, 'rosa_devel', entry_path), :class => 'files-see').encode_to_default = link_to(entry.name, blob_path(@project, @treeish, entry_path), :class => 'files-see').encode_to_default
- else - else
.pic= image_tag 'folder.png' .pic= image_tag 'folder.png'
.name .name
= link_to(entry.name, tree_path(@project, 'rosa_devel', entry_path), :class => 'files-see').encode_to_default = link_to(entry.name, tree_path(@project, @treeish, entry_path), :class => 'files-see').encode_to_default
%td %td
%span{:style => "display: none;"}= commit.committed_date || commit.authored_date#> Dec 31, 2011 %span{:style => "display: none;"}= commit.committed_date || commit.authored_date#> Dec 31, 2011
= l(commit.committed_date || commit.authored_date, :format => :short) #31 декабря 2011 = l(commit.committed_date || commit.authored_date, :format => :short) #31 декабря 2011

View File

@ -1,5 +1,5 @@
%p#file-name1 %p#file-name1
= link_to @project.name, tree_path(@project, :treeish => html_escape(@treeish.encode_to_default)) = link_to @project.name, tree_path(@project, :treeish => @treeish.encode_to_default)
= File::SEPARATOR = File::SEPARATOR
- if @path.present? - if @path.present?
- paths = File.split(@path) - paths = File.split(@path)