File: issue_table.rhtml

package info (click to toggle)
ditz 0.5-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 356 kB
  • ctags: 489
  • sloc: ruby: 3,664; sh: 15; makefile: 12
file content (28 lines) | stat: -rw-r--r-- 759 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<table>
  <tbody>
  <% issues.sort_by { |i| i.creation_time }.reverse.each do |i| %>
    <tr>
      <td> <%= issue_status_img_for i %> </td>
      <td class="littledate"><%= i.creation_time.pretty_date %></td>
      <td class="issuename">
        <%= issue_link_for i %>
      </td>
      <% if show_release %>
        <td class="issuerelease">
          <% if i.release %>
            <% r = project.release_for i.release %>
            <%= link_to r, i.release %>
          <% else %>
          <% end %>
        </td>
      <% end %>
      <% if show_component %>
        <td class="issuecomponent">
          component <%= link_to project.component_for(i.component), i.component %>
        </td>
      <% end %>
    </tr>
  <% end %>
  </tbody>
</table>