From 67fc58567146ab20957fc748762962246633af07 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 10:44:21 +0000 Subject: rename .rhtml to .html.erb of app/views/my/blocks/_issueswatched.rhtml. :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6969 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/my/blocks/_issueswatched.html.erb | 11 +++++++++++ app/views/my/blocks/_issueswatched.rhtml | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 app/views/my/blocks/_issueswatched.html.erb delete mode 100644 app/views/my/blocks/_issueswatched.rhtml (limited to 'app') diff --git a/app/views/my/blocks/_issueswatched.html.erb b/app/views/my/blocks/_issueswatched.html.erb new file mode 100644 index 000000000..e48ec1662 --- /dev/null +++ b/app/views/my/blocks/_issueswatched.html.erb @@ -0,0 +1,11 @@ +

<%=l(:label_watched_issues)%> (<%= Issue.visible.watched_by(user.id).count %>)

+<% 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 %> +

<%= link_to l(:label_issue_view_all), :controller => 'issues', + :action => 'index', + :set_filter => 1, + :watcher_id => 'me', + :sort => 'updated_on:desc' %>

+<% end %> diff --git a/app/views/my/blocks/_issueswatched.rhtml b/app/views/my/blocks/_issueswatched.rhtml deleted file mode 100644 index e48ec1662..000000000 --- a/app/views/my/blocks/_issueswatched.rhtml +++ /dev/null @@ -1,11 +0,0 @@ -

<%=l(:label_watched_issues)%> (<%= Issue.visible.watched_by(user.id).count %>)

-<% 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 %> -

<%= link_to l(:label_issue_view_all), :controller => 'issues', - :action => 'index', - :set_filter => 1, - :watcher_id => 'me', - :sort => 'updated_on:desc' %>

-<% end %> -- cgit v1.2.3