Sha256: c4410c721e637e06d24fd0a0b56535cd7aadb566ee843cd9252d7a1d2008575e

Contents?: true

Size: 1.62 KB

Versions: 8

Compression:

Stored size: 1.62 KB

Contents

<%= render partial: "projects/header", locals: {project: @project, postfix: @commit.sha[0...8]} %>

<div class="commit-profile">
  <%= gravatar_image @commit.committer_email, size: 96 %>
  <h2><%= @commit.summary %></h2>
  <h4><%= @commit.description %></h4>
  
  <div class="-houston-changelog">
    <% if @commit.releases.any? %>
      <% @commit.releases.each do |release| %>
        
        <div class="-houston-changelog-day">
          <h4><%= format_release_date(date = release.date) %></h4>
        </div>
        
        <%= div_for(release) do %>
          <p class="release-header">
            <%= release.released_at.strftime("%l:%M %p") %>&nbsp;&nbsp;
            <%= link_to "details &rarr;".html_safe, release %>
          
            <% if can?(:read, @project.commits.build) %>
              <span class="commit-range"><%= link_to_release_commit_range(release) %></span>
            <% end %>
          </p>
        
          <% if release.release_changes.any? %>
            <div class="release-changes">
              <% ordered_by_tag(release.release_changes).each do |change| %>
                <% if can?(:read, change) %>
                  <div class="change">
                    <%= format_change_tag change.tag %>
                    <div class="change-summary"><%= format_change(change) %></div>
                  </div>
                <% end %>
              <% end %>
            </div>
          <% else %>
            <div class="release-no-changes">No changes</div>
          <% end %>
        <% end %>
      
      <% end %>
    <% else %>
      <p>This commit has not been released</p>
    <% end %>
  </div>
  
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
houston-core-0.5.6 app/views/commits/show.html.erb
houston-core-0.5.5 app/views/commits/show.html.erb
houston-core-0.5.4 app/views/commits/show.html.erb
houston-core-0.5.3 app/views/commits/show.html.erb
houston-core-0.5.2 app/views/commits/show.html.erb
houston-core-0.5.1 app/views/commits/show.html.erb
houston-core-0.5.0 app/views/commits/show.html.erb
houston-core-0.5.0.beta1 app/views/commits/show.html.erb