System notice: In light of the Debian OpenSSL security issue we've regenerated the server keys. See this thread for instructions and the new key fingerprints.

Commit 4d372ef9ab1c5c08425c46066e6b103ed07d06c4

- Smaller commit graphs
- move commit graph to the logs page

Commit diff

app/views/layouts/application.html.erb

 
2323 <div id="header">
2424 <h1 id="logo">
2525 <%= link_to image_tag("logo-white.png"), root_path -%>
26 <!-- <h1><%= link_to "Gitorious", root_path -%></h1> -->
2726 </h1>
2827 <ul id="menu">
2928 <% unless logged_in? -%>
toggle raw diff

app/views/logs/show.html.erb

 
33 Commitlog for <%= h(@repository.name) -%>:<%=h params[:id] -%> in <%= h(@project.title) -%>
44</h1>
55
6<div class="commit_graph">
7 <%= commit_graph_tag(@repository) %>
8</div>
9
10<%= render :partial => "log" -%>
11
612<% content_for :submenu do -%>
713 <%= render :partial => "repositories/context_menu" -%>
814<% end -%>
915
10<%= render :partial => "log" -%>
11
1216<% content_for :sidebar do -%>
1317 <ul>
1418 <li><strong>Project:</strong> <%= link_to h(@repository.project.title), @repository.project -%></li>
toggle raw diff

app/views/repositories/show.html.erb

 
66<% render_if_ready(@repository) do -%>
77
88 <%= render :partial => "infobox" -%>
9
10 <div class="commit_graph">
11 <%= commit_graph_tag(@repository) %>
12 </div>
139
1410 <h2>Activities</h2>
1511 <%= render :partial => "events/events", :locals => { :events => @events } -%>
toggle raw diff

lib/gitorious/graphs/commits_builder.rb

 
1818 def initialize(repository, branch)
1919 @repository = repository
2020 @branch = branch
21 @graph = Gruff::Area.new("650x150")
21 @graph = Gruff::Area.new("650x100")
2222 @graph.title = "Commits by week (24 week period)"
2323 #@graph.x_axis_label = 'Commits by week (24 week period)'
2424 #@graph.y_axis_label = "Commits"
toggle raw diff