]> source.dussan.org Git - redmine.git/commitdiff
Rails3: mail: rename app/views/mailer/_issue_text_html.rhtml to app/views/mailer...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 3 Oct 2011 15:17:58 +0000 (15:17 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 3 Oct 2011 15:17:58 +0000 (15:17 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7567 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/mailer/_issue.html.erb [new file with mode: 0644]
app/views/mailer/_issue_text_html.rhtml [deleted file]
app/views/mailer/issue_add.html.erb
app/views/mailer/issue_edit.html.erb

diff --git a/app/views/mailer/_issue.html.erb b/app/views/mailer/_issue.html.erb
new file mode 100644 (file)
index 0000000..3d851d4
--- /dev/null
@@ -0,0 +1,15 @@
+<h1><%= link_to(h("#{issue.tracker.name} ##{issue.id}: #{issue.subject}"), issue_url) %></h1>
+
+<ul>
+<li><%=l(:field_author)%>: <%=h issue.author %></li>
+<li><%=l(:field_status)%>: <%=h issue.status %></li>
+<li><%=l(:field_priority)%>: <%=h issue.priority %></li>
+<li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li>
+<li><%=l(:field_category)%>: <%=h issue.category %></li>
+<li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li>
+<% issue.custom_field_values.each do |c| %>
+  <li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
+<% end %>
+</ul>
+
+<%= textilizable(issue, :description, :only_path => false) %>
diff --git a/app/views/mailer/_issue_text_html.rhtml b/app/views/mailer/_issue_text_html.rhtml
deleted file mode 100644 (file)
index 3d851d4..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<h1><%= link_to(h("#{issue.tracker.name} ##{issue.id}: #{issue.subject}"), issue_url) %></h1>
-
-<ul>
-<li><%=l(:field_author)%>: <%=h issue.author %></li>
-<li><%=l(:field_status)%>: <%=h issue.status %></li>
-<li><%=l(:field_priority)%>: <%=h issue.priority %></li>
-<li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li>
-<li><%=l(:field_category)%>: <%=h issue.category %></li>
-<li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li>
-<% issue.custom_field_values.each do |c| %>
-  <li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
-<% end %>
-</ul>
-
-<%= textilizable(issue, :description, :only_path => false) %>
index bc62306c15c161d61184bd5b753a533edaaef4be..2bceb7253f8a239eedc16a635a49d44551bbfe2a 100644 (file)
@@ -1,3 +1,3 @@
 <%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %>
 <hr />
-<%= render :partial => "issue_text_html", :locals => { :issue => @issue, :issue_url => @issue_url } %>
+<%= render :partial => "issue.html.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %>
index 05c67208e19dafbd49a2378b9f0ea52953e6cad4..53bd089e63dbf3b44cad7c161584c753d7cb28a7 100644 (file)
@@ -8,4 +8,4 @@
 
 <%= textilizable(@journal, :notes, :only_path => false) %>
 <hr />
-<%= render :partial => "issue_text_html", :locals => { :issue => @issue, :issue_url => @issue_url } %>
+<%= render :partial => "issue.html.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %>