Sha256: e74a2c334d72ee3b877f5bb9518f35e2ba4da4e11ea36fc4d573b4bf8eebffc7

Contents?: true

Size: 889 Bytes

Versions: 2

Compression:

Stored size: 889 Bytes

Contents

<%= partial(:header, :locals => {:repo => @repo}) %>
<h3>Commit: <%= @commit.id %><%= commit_refs(@commit, @repo.param) %> <%= patch_link(@commit, @repo.param) %></h3>
<div class="active">
  <div class='single-commit' id='commit'>
    <%= partial(:commit_info_box, 
                :locals => { :repo => @repo, 
                             :commit => @commit }) %>
    <%= actor_boxes @commit %>
    <div id="message"><%= simple_format(h(@commit.message)) %></div>
    <%= file_listing(@commit) %>
    <div id="files">
      <% count = 0 %>
      <% @commit.diffs.select { |d| !d.deleted_file && !d.new_file }.each do |diff| %>
        <% count += 1 %>    
        <h4><img src="<%= prefix_url("img/doc.png") %>" /><a name='file_<%= count %>'><code><%= diff.b_path %></code></a></h4>
        <div class="diff"><%= pygmentize(diff.diff) %></div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ginatra-2.2.1 views/commit.erb
ginatra-2.2.0 views/commit.erb