AutoCommit Don Aug 27 16:03:04 CEST 2015
This commit is contained in:
3
app/views/emails/daily_reminder.html.erb
Normal file
3
app/views/emails/daily_reminder.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<%=link_to "reminder", daily_reminder_emails_path(params: {send: true}) %>
|
||||
<hr>Subject: <b><%= @mail.subject %></b><br>
|
||||
<%= raw(@mail.body) %>
|
||||
1
app/views/emails/index.html.erb
Normal file
1
app/views/emails/index.html.erb
Normal file
@@ -0,0 +1 @@
|
||||
<%=link_to "reminder", daily_reminder_emails_path() %>
|
||||
@@ -1,12 +1,13 @@
|
||||
<%= stylesheet_link_tag "http://"+ActionMailer::Base.default_url_options[:host].to_s + "/assets/themes/blue2/application.css", :media=>"all" %>
|
||||
<%= stylesheet_link_tag "http://"+ActionMailer::Base.default_url_options[:host].to_s + "/assets/themes/blue2/application.css", :media=>"all" %>
|
||||
|
||||
<% @calentries.each do |ce| %>
|
||||
|
||||
<% if can?(:show , ce.object) %>
|
||||
<hr/>
|
||||
<%= render partial: "calentries/mail", object: ce %>
|
||||
<h1> <%= render partial: "calentries/mail", object: ce %>
|
||||
</h1>
|
||||
<%= render partial: "neuigkeiten/mail", object: ce.object if ce.object.kind_of?(Neuigkeit)%>
|
||||
<% end %>
|
||||
<hr/>
|
||||
<% end %>
|
||||
|
||||
<% end %>
|
||||
<hr/>
|
||||
|
||||
Reference in New Issue
Block a user