]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/my/blocks/_issueswatched.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 10:44:21 +0000 (10:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 10:44:21 +0000 (10:44 +0000)
: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 [new file with mode: 0644]
app/views/my/blocks/_issueswatched.rhtml [deleted file]

diff --git a/app/views/my/blocks/_issueswatched.html.erb b/app/views/my/blocks/_issueswatched.html.erb
new file mode 100644 (file)
index 0000000..e48ec16
--- /dev/null
@@ -0,0 +1,11 @@
+<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 %>
diff --git a/app/views/my/blocks/_issueswatched.rhtml b/app/views/my/blocks/_issueswatched.rhtml
deleted file mode 100644 (file)
index e48ec16..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<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 %>