public
Description: probably a waste of time
Clone URL: git://github.com/claude/git_local.git
claude (author)
Sun Apr 27 05:26:03 -0700 2008
commit  580da23702953c9567bb49ec0e04b94237b0479d
tree    00404c945a5a5d814ce729a1ba0204f0bf36a3ed
parent  04435a863fbbc01de9c254ba728270ec1271f2a3
git_local / views / tree.haml
100644 15 lines (15 sloc) 0.35 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%h1= "Git Local - Tree"
%p
  = "viewing: #{request.path_info.gsub('tree/','')}"
  %a{:href => "/history/#{params[:name]}"} (history)
%ul
  - if @tree
  - @tree.contents.each do |c|
  %li
    %a{:href => "#{request.path_info}/#{c.name}/#{c.id}"}= c.name
  - end
  - end
- if @formatted_text && @tree.contents.empty?
%div#file
  = @formatted_text
- end