public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
Search Repo:
Johan Sørensen (author)
Sun Apr 27 14:34:24 -0700 2008
commit  4d372ef9ab1c5c08425c46066e6b103ed07d06c4
tree    1acc5357ca22d4790425c05dbd9d0c523c9b55f4
parent  d32a4cc201f9d57c1b288569d5b8b01d9ce7cb97
gitorious / app / views / logs / show.html.erb
100644 44 lines (36 sloc) 1.315 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<% @page_title = "Commits in #{@repository.name} in #{@project.title}" -%>
<h1>
  Commitlog for <%= h(@repository.name) -%>:<%=h params[:id] -%> in <%= h(@project.title) -%>
</h1>
 
<div class="commit_graph">
  <%= commit_graph_tag(@repository) %>
</div>
 
<%= render :partial => "log" -%>
 
<% content_for :submenu do -%>
  <%= render :partial => "repositories/context_menu" -%>
<% end -%>
 
<% content_for :sidebar do -%>
  <ul>
    <li><strong>Project:</strong> <%= link_to h(@repository.project.title), @repository.project -%></li>
    <li><strong>Maintainer:</strong> <%= link_to h(@repository.user.login), @repository.user -%></li>
    <% unless @commits.blank? -%>
    <li><strong>HEAD tree:</strong> <%= link_to h(@commits.first.tree.id[0,7]),
      tree_path(@commits.first.id) -%></li>
    <% end -%>
  </ul>
  
  <h5>Branches:</h5>
  <ul>
    <% @git.branches.sort{|a, b| a.name <=> b.name }.each do |branch| -%>
    <li><%= link_to h(branch.name), log_path(branch.name) -%></li>
    <% end -%>
  </ul>
 
  <% unless @git.tags.blank? -%>
  <h5>Tags:</h5>
  <ul>
  <% @git.tags.sort{|a, b| a.name <=> b.name }.each do |tag| -%>
    <li><%= link_to h(tag.name), commit_path(tag.commit.id) -%></li>
  <% end -%>
  </ul>
  <% end -%>
  
  <%= commit_graph_by_author_tag(@repository, params[:id]) %>
<% end -%>