Defect #8948 ยป watched_issues.patch
| 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 %> |