summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/_issue.html.erb
blob: b462184458ef71f67ee86de13b9b3a3b07892386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<h1>
  <%= link_to("#{issue.tracker.name} ##{issue.id}: #{issue.subject}", issue_url) %>
  <%= issue_status_type_badge(issue.status) %>
</h1>

<%= render_email_issue_attributes(issue, user, true) %>

<%= textilizable(issue, :description, :only_path => false) %>

<% if issue.attachments.any? %>
  <fieldset class="attachments"><legend><%= l(:label_attachment_plural) %></legend>
  <% issue.attachments.each do |attachment| %>
    <%= link_to_attachment attachment, :download => true, :only_path => false %>
    (<%= number_to_human_size(attachment.filesize) %>)<br />
  <% end %>
  </fieldset>
<% end %>