summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/glsa/_glsa_row.html.erb')
-rw-r--r--app/views/glsa/_glsa_row.html.erb31
1 files changed, 0 insertions, 31 deletions
diff --git a/app/views/glsa/_glsa_row.html.erb b/app/views/glsa/_glsa_row.html.erb
deleted file mode 100644
index 5c12adf..0000000
--- a/app/views/glsa/_glsa_row.html.erb
+++ /dev/null
@@ -1,31 +0,0 @@
-<% if current_user.can_access? glsa %>
-<tr class="<%= 'restricted' if glsa.restricted %> <%= cycle 'even', 'odd' %>">
- <td>
- <%= status_icon glsa.status %>
- <strong><tt><%= glsa.glsa_id %></tt></strong>
- </td>
- <td>
- <%= bugready_icon glsa.last_revision.bug_ready? %>
- <%= approval_icon glsa.approval_status %>
- <%= workflow_icon(glsa.workflow_status(current_user)) %>
- <%= restricted_icon glsa.restricted %>
- </td>
- <% if view == :requests %>
- <td><strong><%= link_to(glsa.last_revision.title, {:controller => 'glsa', :action => 'edit', :id => glsa}, {:title => "Draft this GLSA"}) %></strong></td>
- <td><%= glsa.created_at %>, <%= glsa.requester.name %> (<em><%= glsa.requester.login %></em>)</td>
- <% else %>
- <td><strong><%= link_to(glsa.last_revision.title, {:controller => 'glsa', :action => 'show', :id => glsa}, {:title => "Show this GLSA"}) %></strong></td>
- <td><%= glsa.created_at %>, <%= glsa.submitter.name %> (<em><%= glsa.submitter.login %></em>)</td>
- <% end %>
- <!--<td>
- <% if glsa.last_revision; glsa.last_revision.bugs.each do |b| %>
- <%= link_to_function b.bug_id, "buginfo('#{b.bug_id}')" %>
- <% end ; end %>
- </td>-->
- <% if current_user.is_el_jefe? %>
- <td>
- <%= link_to(image_tag('icons/delete.png'), glsa_path(glsa), :confirm => "Are you sure you want to delete this draft?", :method => :delete) %>
- </td>
- <% end %>
-</tr>
-<% end %> \ No newline at end of file