Project

General

Profile

Defect #8948 ยป watched_issues.patch

Yuki Kita, 2011-07-30 04:52

View differences:

app/views/my/blocks/_issueswatched.rhtml (working copy)
1
<h3><%=l(:label_watched_issues)%> (<%= Issue.visible.watched_by(user.id).count %>)</h3>
2
<% watched_issues = Issue.visible.on_active_project.watched_by(user.id).recently_updated.with_limit(10) %>
1
<h3><%=l(:label_watched_issues)%> (<%= Issue.visible.open.watched_by(user.id).count %>)</h3>
2
<% watched_issues = Issue.visible.open.on_active_project.watched_by(user.id).recently_updated.with_limit(10) %>
3 3

  
4 4
<%= render :partial => 'issues/list_simple', :locals => { :issues => watched_issues } %>
5 5
<% if watched_issues.length > 0 %>
    (1-1/1)