AutoCommit Mit Aug 26 12:03:05 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-26 12:03:05 +02:00
parent 94cad06e31
commit 1047851b47
5 changed files with 36 additions and 9 deletions

View File

@@ -0,0 +1 @@
<%= mail.icon_text %>

View File

@@ -0,0 +1,10 @@
<h1>
<%= mail.title%>
</h1>
<%= content_tag(:img,"",src: "http://" + ActionMailer::Base.default_url_options[:host].to_s + mail.picture.big_thumb.url.to_s) %>
<%=url_for controller: "neuigkeiten",action: :show, :id=>mail.id, only_path: false %>
<%= raw(mail.text) %>
<% mail.questions.each do |q| %>
<%= render partial:"survey/questions/mail", object: q %>
<% end %>
<%= link_to "Auf Fet.at weiterlesen", rubrik_neuigkeit_url(mail.rubrik, mail,:locale=>:de, :theme=>nil) %>

View File

@@ -1,3 +1,11 @@
<%= @calentries.each do |ce| %>
<%= render @calentry%>
<%= stylesheet_link_tag "http://"+ActionMailer::Base.default_url_options[:host].to_s + "/assets/themes/blue2/application.css", :media=>"all" %>
<% @calentries.each do |ce| %>
<hr/>
<% if can?(:show , ce.object) %>
<%= render partial: "calentries/mail", object: ce %>
<%= render partial: "neuigkeiten/mail", object: ce.object if ce.object.kind_of?(Neuigkeit)%>
<% end %>
<hr/>
<% end %>