app/views/grit/commits/_commit.html.erb in ginst-2.0.1 vs app/views/grit/commits/_commit.html.erb in ginst-2009.11.23
- old
+ new
@@ -1,19 +1,10 @@
<% content_tag_for :li, commit do %>
<pre><%= link_to commit.short_message, project_commit_path(@project, commit.id) %></pre>
- <img src="<%= gravatar_url_for(commit) %>">
- <p>
+<%= gravatar_img_for(commit) %>
+
<strong><%= commit.author.name %></strong> (author)<br/>
- <em><%= commit.committed_date.to_s(:short) %></em>
-
- <% task = @project.tasks.for_commit(commit.id).first %>
- <% if task %>
- <%= link_to "Build status: #{task.status}", project_task_path(@project,task), :class => task.status %>
- <% else %>
- <% form_for commit, :url => project_commit_path(@project, commit) do |f| %>
- <button type="submit">build!</button>
- <% end %>
- <% end %>
+ <em><%= commit.committed_date.to_s(:short) %></em>
</p>
<dl>
<dt>sha1</dt>
<dd><pre><%= commit.id %></pre></dd>
\ No newline at end of file