Sha256: 4e4e5a0bc63775f3c3b476c9eb5dfd574ef94d409eafdcac7943faa5a16e2647

Contents?: true

Size: 1.27 KB

Versions: 10

Compression:

Stored size: 1.27 KB

Contents

<h1 class="project-banner <%= @project.color %>">
  <small>Release notes for</small> <%= @project.name %>
</h1>

<div class="release-draft" style="overflow: hidden;">
  <% if @release.new_record? %>
    <% if @release.commit_not_found_error_message %>
      <div class="alert alert-error">
        <%= replace_quotes(@release.commit_not_found_error_message) %>
      </div>
    <% elsif @release.commits.none? %>
      <div class="alert alert-error">
        There are no commits in the repo <code><%= @project.repo %></code> that match <code><%= @commit0 %>...<%= @commit1 %></code>
      </div>
    <% else %>
      <%= render partial: "releases/changelog", locals: {draft: true} %>
    <% end %>
  <% else %>
    <%= render partial: "releases/changelog" %>
  <% end %>
</div>

<% if @release.new_record? && @maintainer %>
  <p style="margin-top: 3em;">
    <%= link_to "Edit and Publish Release", new_release_url(@release, auth_token: @auth_token), :class => "btn btn-primary btn-large" %>
    &nbsp;
    <span style="color: #888;">(Commit range:
      <span class="commit-range"><%= link_to_release_commit_range(@release) %></span>)
    </span>
  </p>
<% end %>

<% unless @release.new_record? %>
  <p style="margin-top: 3em;">
    <%= link_to "permalink", release_url(@release) %>
  </p> 
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
houston-core-0.8.0.pre app/views/project_notification/new_release.html.erb
houston-core-0.7.0 app/views/project_notification/new_release.html.erb
houston-core-0.7.0.beta4 app/views/project_notification/new_release.html.erb
houston-core-0.7.0.beta3 app/views/project_notification/new_release.html.erb
houston-core-0.7.0.beta2 app/views/project_notification/new_release.html.erb
houston-core-0.7.0.beta app/views/project_notification/new_release.html.erb
houston-core-0.6.3 app/views/project_notification/new_release.html.erb
houston-core-0.6.2 app/views/project_notification/new_release.html.erb
houston-core-0.6.1 app/views/project_notification/new_release.html.erb
houston-core-0.6.0 app/views/project_notification/new_release.html.erb