To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / my / blocks / _issueswatched.html.erb @ 912:5e80956cc792
History | View | Annotate | Download (731 Bytes)
| 1 | 0:513646585e45 | 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.with_limit(10) %>
|
||
| 3 | |||
| 4 | <%= render :partial => 'issues/list_simple', :locals => { :issues => watched_issues } %>
|
||
| 5 | <% if watched_issues.length > 0 %>
|
||
| 6 | 636:12701b2e1bfc | chris | <p class="small"><%= link_to l(:label_issue_view_all_watched), :controller => 'issues', |
| 7 | 909:cbb26bc654de | Chris | :action => 'index',
|
| 8 | :set_filter => 1,
|
||
| 9 | :watcher_id => 'me',
|
||
| 10 | :sort => 'updated_on:desc' %></p> |
||
| 11 | 0:513646585e45 | Chris | <% end %> |