Mercurial > hg > soundsoftware-site
view app/views/my/blocks/_issueswatched.rhtml @ 108:d70a0b926135 luisf
Feature #52: All users can now view and edit their description and university
author | luisf |
---|---|
date | Fri, 17 Dec 2010 13:02:30 +0000 |
parents | 513646585e45 |
children | 12701b2e1bfc |
line wrap: on
line source
<h3><%=l(:label_watched_issues)%> (<%= Issue.visible.watched_by(user.id).count %>)</h3> <% watched_issues = Issue.visible.on_active_project.watched_by(user.id).recently_updated.with_limit(10) %> <%= render :partial => 'issues/list_simple', :locals => { :issues => watched_issues } %> <% if watched_issues.length > 0 %> <p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues', :action => 'index', :set_filter => 1, :watcher_id => 'me', :sort => 'updated_on:desc' %></p> <% end %>