From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 13:53:00 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/issues/_list_simple.rhtml. X-Git-Tag: 1.3.0~952 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=198b135e65bb93e1751647a92e0ad88dec9e4d10;p=redmine.git rename .rhtml to .html.erb of app/views/issues/_list_simple.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@7011 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/_list_simple.html.erb b/app/views/issues/_list_simple.html.erb new file mode 100644 index 000000000..1fcb07aee --- /dev/null +++ b/app/views/issues/_list_simple.html.erb @@ -0,0 +1,29 @@ +<% if issues && issues.any? %> +<% form_tag({}) do %> + + + + + + + + + <% for issue in issues %> + + + + + + + <% end %> + +
#<%=l(:field_project)%><%=l(:field_tracker)%><%=l(:field_subject)%>
+ <%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;') %> + <%= link_to(h(issue.id), :controller => 'issues', :action => 'show', :id => issue) %> + <%= link_to_project(issue.project) %><%=h issue.tracker %> + <%= link_to h(truncate(issue.subject, :length => 60)), :controller => 'issues', :action => 'show', :id => issue %> (<%=h issue.status %>) +
+<% end %> +<% else %> +

<%= l(:label_no_data) %>

+<% end %> diff --git a/app/views/issues/_list_simple.rhtml b/app/views/issues/_list_simple.rhtml deleted file mode 100644 index 1fcb07aee..000000000 --- a/app/views/issues/_list_simple.rhtml +++ /dev/null @@ -1,29 +0,0 @@ -<% if issues && issues.any? %> -<% form_tag({}) do %> - - - - - - - - - <% for issue in issues %> - - - - - - - <% end %> - -
#<%=l(:field_project)%><%=l(:field_tracker)%><%=l(:field_subject)%>
- <%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;') %> - <%= link_to(h(issue.id), :controller => 'issues', :action => 'show', :id => issue) %> - <%= link_to_project(issue.project) %><%=h issue.tracker %> - <%= link_to h(truncate(issue.subject, :length => 60)), :controller => 'issues', :action => 'show', :id => issue %> (<%=h issue.status %>) -
-<% end %> -<% else %> -

<%= l(:label_no_data) %>

-<% end %>