Sha256: 83b8e5cd954ddc73139869b11ce0242db0bc986fd6dba17f23009238aa426da4
Contents?: true
Size: 1.61 KB
Versions: 17
Compression:
Stored size: 1.61 KB
Contents
<div id="<%= @release.project.slug %>_changelog" class="-houston-changelog"> <div class="-houston-changelog-day"> <h4> <% if (defined?(draft) && draft) %> Draft <% else %> <%= format_release_date(@release.date) %> 〉 <%= @release.released_at.strftime("%-I:%M %p") %> <% end %> <%= link_to "Edit", edit_release_path(@release) if can?(:update, @release) and !(defined?(draft) && draft) %> </h4> </div> <%= div_for @release do %> <% unless @release.message.blank? %> <div class="release-message"> <%= mdown(@release.message) %> </div> <% end %> <% 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 %> <% unless (defined?(draft) && draft) %> <div class="release-detail"> <%= render partial: "releases/tickets", locals: {tickets: @release.tickets} if can?(:read, Ticket) %> <%= render partial: "releases/antecedents", locals: {antecedents: @release.antecedents} if can?(:read, Ticket) %> <%= render partial: "releases/commits", locals: {commits: @release.commits} if can?(:read, Commit) && !for_email? %> </div> <% end %> <% end %> </div>
Version data entries
17 entries across 17 versions & 1 rubygems