Skip to content

Commit 0ed5144

Browse files
committed
on dashboard . do not show other sprints unassigned tasks to sidebar
1 parent 55d3878 commit 0ed5144

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/views/sprints/show.html.erb

100755100644
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
<%# form_for :sprint, :url => '/sprints/show', :method => :get do |select_form| %>
32

43
<p><%= image_tag(@chart.chart(960,150)) unless @chart.blank? %></p>
@@ -79,12 +78,14 @@
7978
</td>
8079
</tr>
8180
<% @unassigned_tasks.each do |task| %>
81+
<% if task.fixed_version.id == @sprint.id then %>
8282
<tr>
8383
<td>
8484
<%= render :partial => "shared/task_view", :locals => {:task => task, :issue_statuses => @issue_statuses,
8585
:project_users => @project_users} %>
8686
</td>
8787
</tr>
88+
<% end %>
8889
<% end %>
8990
</table>
9091

0 commit comments

Comments
 (0)