Sha256: f693f93afe1e644e54f0328b8521b153962153d4073888fc132edc738400ad52

Contents?: true

Size: 1.14 KB

Versions: 8

Compression:

Stored size: 1.14 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 %>

Version data entries

8 entries across 8 versions & 1 rubygems

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