Sha256: 4a33be4e5ceaef71fdebfbc9be5ad89d378f84cf805a957dacf52636895e11e9
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title><%= @site_name %> Notification </title> </head> <body style="font: 14px normal Helvetica, Arial, Sans; background: #999;"> <div style="width:800px; margin: 10px auto; background: #fff; border: 10px solid #aaa;"> <h1 style="clear: both; margin: 0; padding: 40px 20px 5px 20px; border-bottom: 1px dotted; background: #ccc;"> <%= @site_name %> <%=@task_name.titleize unless @task_name.nil? %> </h1> <% unless @site_url.nil? %> <p style="margin: 8px 0 20px 20px; padding: 0px; font-style: italic;" > View site: <a href="<%= @site_url -%>"><%= @site_url -%></a> </p> <% end %> <p style="margin: 10px 20px; font-weight: bold;">Released: <%= @date %> at <%= @time %></p> <%= @sections.map { |section| data = @section_data[section.to_sym] if !data.empty? if %w(extra_information release_data).include?(section) render :partial => 'section_custom.html.erb', :locals => {:section_title => section, :data => data} else render :partial => 'section.html.erb', :locals => {:section_title => section, :data => data} end end }.join.html_safe unless @sections.nil? %> </div> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano_mailer_railsless-3.2.6 | views/cap_railsless_mailer/notification_email.html.erb |