Sha256: 82fd85b08ef64c8b7f43434d09f7dd59449de76fac91992e27cf39574b655328

Contents?: true

Size: 684 Bytes

Versions: 6

Compression:

Stored size: 684 Bytes

Contents

<% unless is_email? %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
  <title><%= @newsletter.name %></title>
  <link rel="stylesheet" type="text/css" media="screen" href="<%= "/newsletters/#{@newsletter.id}/stylesheet.css" %>"/>
  <%= render 'newsletter/newsletters/head' %>
</head>
<body>
<% else %>
<!DOCTYPE html>
<style>
  <%= @newsletter.design.stylesheet_text %>
</style>
<% end %>
  <%= render :inline => File.readlines(@newsletter.design.view_path).join, :locals => @newsletter.locals %>
<% unless is_email? %>
</body>
</html>
<% end %>

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
newsletter-3.2.25.1 app/views/newsletter/newsletters/_newsletter.html.erb
newsletter-3.2.25.1 app/views/newsletter/newsletters/show.html.erb
newsletter-3.2.22.0 app/views/newsletter/newsletters/_newsletter.html.erb
newsletter-3.2.22.0 app/views/newsletter/newsletters/show.html.erb
newsletter-3.2.7 app/views/newsletter/newsletters/_newsletter.html.erb
newsletter-3.2.7 app/views/newsletter/newsletters/show.html.erb