font-family: Verdana, sans-serif;
font-size: 0.8em;
color:#484848;
- background: #f6f6f6;
- padding: 0.5em;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; }
h1 { font-size: 1.2em; }
hr {
width: 100%;
height: 1px;
- margin: 1em 0;
background: #ccc;
border: 0;
}
font-size: 0.8em;
font-style: italic;
}
-#content {
- max-width: 60em;
- margin: 0 auto;
- padding: 1em;
- border: 1px solid #e4e4e4;
- border-radius: 4px;
- background: #fff;
-}
-.description, .note {
- margin: 2em 0;
- color: #484848;
-}
-.author {
- background: #f6f6f6;
- border-radius: 3px;
- padding: 3px;
- margin: 0;
-}
</style>
</head>
<body>
-<div id="content">
<% if Setting.emails_header.present? -%>
<span class="header"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_header).html_safe %></span>
<% end -%>
<% if Setting.emails_footer.present? -%>
<span class="footer"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_footer).html_safe %></span>
<% end -%>
-</div>
</body>
</html>
<%= render_email_issue_attributes(issue, users.first, true) %>
-<div class="description"><%= textilizable(issue, :description, :only_path => false) %></div>
+<%= textilizable(issue, :description, :only_path => false) %>
<% if issue.attachments.any? %>
<fieldset class="attachments"><legend><%= l(:label_attachment_plural) %></legend>
-<p class="author"><%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %></p>
+<%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %>
<hr />
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>
<% if @journal.private_notes? %>
(<%= l(:field_private_notes) %>)
<% end %>
-<p class="author"><%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %></p>
+<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %>
<ul>
<% details_to_strings(@journal_details, false, :only_path => false).each do |string| %>
<% end %>
</ul>
-<div class="note"><%= textilizable(@journal, :notes, :only_path => false) %></div>
+<%= textilizable(@journal, :notes, :only_path => false) %>
<hr />
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>