summaryrefslogtreecommitdiffstats
path: root/app/views/issues/_list_simple.rhtml
blob: cd235537681b1cb34ba14a696f444b2578f04359 (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
26
27
28
<% if issues.length > 0 %>
<table cellspacing="0" cellpadding="1" width="100%" border="0" class="listTable">
	<tr><td>
	<table class="listTableContent">		
		<tr class="ListHead">	
		<th>#</th>
		<th><%=l(:field_tracker)%></th>
		<th><%=l(:field_subject)%></th>
		</tr>	
		<% for issue in issues %>
		<tr class="<%= cycle("odd", "even") %>">
			<td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;">
				<%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %><br />
			</td>
			<td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
                <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td>
			<td>
                <p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p>
            </td>
		</tr>
		<% end %>
	</table>
	</td>
	</tr>	
</table>
<% else %>
	<i><%=l(:label_no_data)%></i>
<% end %>