note_issue_email.html.haml 1.75 KB
Newer Older
Dmitriy Zaporozhets's avatar
v1.0  
Dmitriy Zaporozhets committed
1 2 3 4 5 6 7
%td.content{:align => "left", :style => "font-family: Helvetica, Arial, sans-serif; padding: 20px 0 0;", :valign => "top", :width => "600"}
  %table{:border => "0", :cellpadding => "0", :cellspacing => "0", :style => "color: #717171; font: normal 11px Helvetica, Arial, sans-serif; margin: 0; padding: 0;", :width => "600"}
    %tr
      %td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}
      %td{:align => "left", :style => "padding: 20px 0 0;"}
        %h2{:style => "color:#646464 !important; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
          New comment - 
Dmitriy Zaporozhets's avatar
1.0.2  
Dmitriy Zaporozhets committed
8
          = link_to project_issue_url(@project, @issue, :anchor => "note_#{@note.id}") do 
Dmitriy Zaporozhets's avatar
v1.0  
Dmitriy Zaporozhets committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
            = "Issue ##{@issue.id.to_s}"
            = truncate(@issue.title, :length => 35) 
      %td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}
    %tr
      %td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}
      %td{:style => "padding: 15px 0 15px;", :valign => "top"}
        %p{:style => "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
          %a{:href => "#", :style => "color: #0eb6ce; text-decoration: none;"} #{@note.author.name}
          left next message:
        %br
          %table{:border => "0", :cellpadding => "0", :cellspacing => "0", :width => "558"}
            %tr
              %td{:valign => "top"}
                %cite{:style => "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
                  = @note.note
      %td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}