summaryrefslogtreecommitdiffstats
path: root/app/views/issues/_list_simple.rhtml
blob: 517055e3a33bc13a12be07e12067ac432e897d54 (plain)
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
<% if issues.length > 0 %>
	<table class="list">		
		<thead><tr>
		<th>#</th>
		<th><%=l(:field_tracker)%></th>
		<th><%=l(:field_subject)%></th>
		</tr></thead>
		<tbody>	
		<% for issue in issues %>
		<tr id="issue-<%= issue.id %>" class="issue hascontextmenu <%= cycle('odd', 'even') %> <%= "status-#{issue.status.position} priority-#{issue.priority.position}" %>">
			<td class="id">
				<%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
			</td>
			<td><%= issue.project.name %> - <%= issue.tracker.name %><br />
                <%= issue.status.name %> - <%= format_time(issue.updated_on) %></td>
			<td class="subject">
                <%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %>
            </td>
		</tr>
		<% end %>
		</tbody>
	</table>
<% else %>
	<i><%=l(:label_no_data)%></i>
<% end %>