Sha256: 807c2395154e6eae5112178d033fb2754f301167cd515ae058dfb8dbd9442b87
Contents?: true
Size: 943 Bytes
Versions: 2
Compression:
Stored size: 943 Bytes
Contents
<% 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> <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 %> </p> <dl> <dt>sha1</dt> <dd><pre><%= commit.id %></pre></dd> <% commit.parents.each do |parent| %> <dt>parent</dt> <dd><pre><%= parent.id %></pre></dd> <% end %> <dt>tree</dt> <dd><pre><%= commit.tree.id %></pre></dd> </dl> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ginst-2.0.1 | app/views/grit/commits/_commit.html.erb |
ginst-2.0.0 | app/views/grit/commits/_commit.html.erb |