To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / 3e / 3e6b94e5f06c2c16daf8b3fdee45e4f66096d317.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (718 Bytes)
| 1 | 1296:038ba2d95de8 | Chris | <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.limit(10) %> |
||
| 3 | |||
| 4 | <%= render :partial => 'issues/list_simple', :locals => { :issues => watched_issues } %>
|
||
| 5 | <% if watched_issues.length > 0 %> |
||
| 6 | <p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues', |
||
| 7 | :action => 'index', |
||
| 8 | :set_filter => 1, |
||
| 9 | :watcher_id => 'me', |
||
| 10 | :sort => 'updated_on:desc' %></p> |
||
| 11 | <% end %> |