The requested changes are too big and content was truncated. Show full diff
@@ -1,37 +1,38 | |||||
1 | <html> |
|
1 | <html> | |
2 | <head> |
|
2 | <head> | |
3 | <style> |
|
3 | <style> | |
4 | body { |
|
4 | body { | |
5 | font-family: Verdana, sans-serif; |
|
5 | font-family: Verdana, sans-serif; | |
6 | font-size: 0.8em; |
|
6 | font-size: 0.8em; | |
7 | color:#484848; |
|
7 | color:#484848; | |
8 | } |
|
8 | } | |
9 | h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; } |
|
9 | h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; } | |
10 | h1 { font-size: 1.2em; } |
|
10 | h1 { font-size: 1.2em; } | |
11 | h2, h3 { font-size: 1.1em; } |
|
11 | h2, h3 { font-size: 1.1em; } | |
12 | a, a:link, a:visited { color: #2A5685;} |
|
12 | a, a:link, a:visited { color: #2A5685;} | |
13 | a:hover, a:active { color: #c61a1a; } |
|
13 | a:hover, a:active { color: #c61a1a; } | |
14 | a.wiki-anchor { display: none; } |
|
14 | a.wiki-anchor { display: none; } | |
|
15 | fieldset.attachments {border-width: 1px 0 0 0;} | |||
15 | hr { |
|
16 | hr { | |
16 | width: 100%; |
|
17 | width: 100%; | |
17 | height: 1px; |
|
18 | height: 1px; | |
18 | background: #ccc; |
|
19 | background: #ccc; | |
19 | border: 0; |
|
20 | border: 0; | |
20 | } |
|
21 | } | |
21 | .footer { |
|
22 | span.footer { | |
22 | font-size: 0.8em; |
|
23 | font-size: 0.8em; | |
23 | font-style: italic; |
|
24 | font-style: italic; | |
24 | } |
|
25 | } | |
25 | </style> |
|
26 | </style> | |
26 | </head> |
|
27 | </head> | |
27 | <body> |
|
28 | <body> | |
28 | <% if Setting.emails_header.present? -%> |
|
29 | <% if Setting.emails_header.present? -%> | |
29 | <span class="header"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_header).html_safe %></span> |
|
30 | <span class="header"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_header).html_safe %></span> | |
30 | <% end -%> |
|
31 | <% end -%> | |
31 | <%= yield %> |
|
32 | <%= yield %> | |
32 | <hr /> |
|
33 | <hr /> | |
33 | <% if Setting.emails_footer.present? -%> |
|
34 | <% if Setting.emails_footer.present? -%> | |
34 | <span class="footer"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_footer).html_safe %></span> |
|
35 | <span class="footer"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_footer).html_safe %></span> | |
35 | <% end -%> |
|
36 | <% end -%> | |
36 | </body> |
|
37 | </body> | |
37 | </html> |
|
38 | </html> |
@@ -1,15 +1,24 | |||||
1 | <h1><%= link_to(h("#{issue.tracker.name} ##{issue.id}: #{issue.subject}"), issue_url) %></h1> |
|
1 | <h1><%= link_to(h("#{issue.tracker.name} ##{issue.id}: #{issue.subject}"), issue_url) %></h1> | |
2 |
|
2 | |||
3 | <ul> |
|
3 | <ul> | |
4 | <li><%=l(:field_author)%>: <%=h issue.author %></li> |
|
4 | <li><%=l(:field_author)%>: <%=h issue.author %></li> | |
5 | <li><%=l(:field_status)%>: <%=h issue.status %></li> |
|
5 | <li><%=l(:field_status)%>: <%=h issue.status %></li> | |
6 | <li><%=l(:field_priority)%>: <%=h issue.priority %></li> |
|
6 | <li><%=l(:field_priority)%>: <%=h issue.priority %></li> | |
7 | <li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li> |
|
7 | <li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li> | |
8 | <li><%=l(:field_category)%>: <%=h issue.category %></li> |
|
8 | <li><%=l(:field_category)%>: <%=h issue.category %></li> | |
9 | <li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li> |
|
9 | <li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li> | |
10 | <% issue.custom_field_values.each do |c| %> |
|
10 | <% issue.custom_field_values.each do |c| %> | |
11 | <li><%=h c.custom_field.name %>: <%=h show_value(c) %></li> |
|
11 | <li><%=h c.custom_field.name %>: <%=h show_value(c) %></li> | |
12 | <% end %> |
|
12 | <% end %> | |
13 | </ul> |
|
13 | </ul> | |
14 |
|
14 | |||
15 | <%= textilizable(issue, :description, :only_path => false) %> |
|
15 | <%= textilizable(issue, :description, :only_path => false) %> | |
|
16 | ||||
|
17 | <% if issue.attachments.any? %> | |||
|
18 | <fieldset class="attachments"><legend><%= l(:label_attachment_plural) %></legend> | |||
|
19 | <% issue.attachments.each do |attachment| %> | |||
|
20 | <%= link_to_attachment attachment, :download => true, :only_path => false %> | |||
|
21 | (<%= number_to_human_size(attachment.filesize) %>)<br /> | |||
|
22 | <% end %> | |||
|
23 | </fieldset> | |||
|
24 | <% end %> |
@@ -1,13 +1,20 | |||||
1 | <%= "#{issue.tracker.name} ##{issue.id}: #{issue.subject}" %> |
|
1 | <%= "#{issue.tracker.name} ##{issue.id}: #{issue.subject}" %> | |
2 | <%= issue_url %> |
|
2 | <%= issue_url %> | |
3 |
|
3 | |||
4 | * <%=l(:field_author)%>: <%= issue.author %> |
|
4 | * <%=l(:field_author)%>: <%= issue.author %> | |
5 | * <%=l(:field_status)%>: <%= issue.status %> |
|
5 | * <%=l(:field_status)%>: <%= issue.status %> | |
6 | * <%=l(:field_priority)%>: <%= issue.priority %> |
|
6 | * <%=l(:field_priority)%>: <%= issue.priority %> | |
7 | * <%=l(:field_assigned_to)%>: <%= issue.assigned_to %> |
|
7 | * <%=l(:field_assigned_to)%>: <%= issue.assigned_to %> | |
8 | * <%=l(:field_category)%>: <%= issue.category %> |
|
8 | * <%=l(:field_category)%>: <%= issue.category %> | |
9 | * <%=l(:field_fixed_version)%>: <%= issue.fixed_version %> |
|
9 | * <%=l(:field_fixed_version)%>: <%= issue.fixed_version %> | |
10 | <% issue.custom_field_values.each do |c| %>* <%= c.custom_field.name %>: <%= show_value(c) %> |
|
10 | <% issue.custom_field_values.each do |c| %>* <%= c.custom_field.name %>: <%= show_value(c) %> | |
11 | <% end -%> |
|
11 | <% end -%> | |
12 | ---------------------------------------- |
|
12 | ---------------------------------------- | |
13 | <%= issue.description %> |
|
13 | <%= issue.description %> | |
|
14 | ||||
|
15 | <% if issue.attachments.any? -%> | |||
|
16 | ---<%= l(:label_attachment_plural).ljust(37, '-') %> | |||
|
17 | <% issue.attachments.each do |attachment| -%> | |||
|
18 | <%= attachment.filename %> (<%= number_to_human_size(attachment.filesize) %>) | |||
|
19 | <% end -%> | |||
|
20 | <% end -%> |
1 | NO CONTENT: modified file |
|
NO CONTENT: modified file | ||
The requested commit or file is too big and content was truncated. Show full diff |
General Comments 0
You need to be logged in to leave comments.
Login now