socialforge/app/views/mailer/_issue.html.erb

40 lines
1.7 KiB
Plaintext

<!-- <h1><%#= link_to(h("#{issue.tracker.name} ##{issue.project_index}: #{issue.subject}"), issue_url) %></h1> -->
<p>
<span class="c_blue">
<%= link_to(h("#{@issue.author}(#{@issue.author.show_name})"), @issue_author_url) %>
</span>在
<span class="c_blue"><%= link_to(h("#{@issue.project.name}"),@project_url) %></span>中有了一个与您相关的最新活动,请您关注!</p>
<div class="mail_box">
<ul>
<li><strong>标题:</strong><%= link_to(issue.subject, issue_url) %></li>
<li><strong>来源:</strong><%= link_to(h("#{issue.project.name}"),@project_url) %><b>|&nbsp;</b>项目缺陷</li>
<li><strong style="float:left;">内容:</strong>
<p class="mail_box_p"><%= textilizable(issue, :description, :only_path => false) %></p>
</li>
<li><strong style="float:left;">附件:</strong>
<p class="mail_fujian">
<% unless @issue.attachments.nil? %>
<% @issue.attachments.each do |attach| %>
<%= link_to_attachment(attach, :download => true, :token => @token.value, :only_path => false) %><%= l(:label_added) %></br>
<% end %>
<% end %>
</p>
</li>
</ul>
<label class="mail_reply"><%= link_to( "我要回复", issue_url) %></label>
<div class="cl"></div>
</div>
<!-- <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 %>
-->