Sha256: e8f4d5dd8cb662298c60f7c6c83ea91efadaf4a71354fe2b3d769ba3798d6cbe

Contents?: true

Size: 1.4 KB

Versions: 4

Compression:

Stored size: 1.4 KB

Contents

<table nowrap="nowrap" class="pane" nowrap="nowrap">

<%
  if @linkable_changesets.nil?
%>
<%
  elsif @linkable_changesets.empty?
%>
  <tr class="pane">
    <td class="pane">
      No Changesets
    </td>
  </tr>
<% else %>
  <%
    @linkable_changesets.reverse.each do |changeset|
  %>
  <tr class="build-row">
    <td nowrap="nowrap">
      <%= link_to("#{changeset.identifier} (#{changeset.developer})", :action => "changeset", :id => @project.name, :params => {"changeset" => changeset.identifier}) %>
    </td>
    <td width="100%">
      <% @project.builds(changeset.identifier).each do |build| %>
      <%= tag("img", :src => build.small_image) %>
      <% end %>
    </td>
  </tr>
  <% end %>

  <% if(!@select_changeset_identifiers.empty?) %>
    <tr class="build-row">
      <td class="build-cell-even">
        <form method="get" action="<%= url_for(:action => "changeset", :id => @project.name) %>">
          <input type="hidden" name="project_name" value="<%= "bar" %>" />
          <select name="changeset" onchange="submit()">
          
          <%
            @select_changeset_identifiers.reverse.each do |changeset_identifier|
          %>
            <option value="<%= changeset_identifier %>"><%= changeset_identifier %></option>      
          <% end %>
          
          </select>
        </form>
      </td>
    </tr>
  <% end %>

<% end %>

</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
damagecontrol-0.5.0.1392 app/views/project/_changesets_list.rhtml
damagecontrol-0.5.0.1391 app/views/project/_changesets_list.rhtml
damagecontrol-0.5.0.1393 app/views/project/_changesets_list.rhtml
damagecontrol-0.5.0.1404 app/views/project/_changesets_list.rhtml