@@ -1,10 +1,10 | |||
|
1 | 1 | <h3><%=l(:label_watched_issues)%></h3> |
|
2 | 2 | <% watched_issues = Issue.visible.find(:all, |
|
3 | 3 | :include => [:status, :project, :tracker, :watchers], |
|
4 | 4 | :limit => 10, |
|
5 | 5 | :conditions => ["#{Watcher.table_name}.user_id = ?", user.id], |
|
6 | 6 | :order => "#{Issue.table_name}.updated_on DESC") %> |
|
7 | 7 | <%= render :partial => 'issues/list_simple', :locals => { :issues => watched_issues } %> |
|
8 | 8 | <% if watched_issues.length > 0 %> |
|
9 | <p><%=lwr(:label_last_updates, watched_issues.length)%></p> | |
|
9 | <p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues', :action => 'index', :set_filter => 1, :watcher_id => 'me' %></p> | |
|
10 | 10 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now