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 @ 1330:441b66f148b6
History | View | Annotate | Download (726 Bytes)
| 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.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_watched), :controller => 'issues', |
| 7 |
:action => 'index',
|
| 8 |
:set_filter => 1,
|
| 9 |
:watcher_id => 'me',
|
| 10 |
:sort => 'updated_on:desc' %></p> |
| 11 |
<% end %>
|