Skip to content

Commit

Permalink
show tracker name in the issue list
Browse files Browse the repository at this point in the history
  • Loading branch information
gugod committed Jan 18, 2010
1 parent d024431 commit 8c32b91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/controllers/iphone/issues_controller.rb
Expand Up @@ -8,6 +8,7 @@ class Iphone::IssuesController < ApplicationController
helper :journals

def index
@tracker = Tracker.find(params[:tracker_id])
@issues = @project.issues.all(:conditions => [ "tracker_id = ?", params[:tracker_id] ])
end

Expand Down
2 changes: 1 addition & 1 deletion app/views/iphone/issues/index.html.erb
Expand Up @@ -6,7 +6,7 @@
<% end %>
<a href="#" class="back">Back</a>
</div>
<h2>Issues &gt; </h2>
<h2>Issues &gt; <%= @tracker.name %></h2>
<ul class="edgetoedge">
<% @issues.each do |issue| %>
<li class="arrow"><%= link_to issue.subject, :action => "show", :id => issue.id %> <small><%= issue.tracker.name %></small></li>
Expand Down

0 comments on commit 8c32b91

Please sign in to comment.