AutoCommit Mon Sep 14 13:50:05 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-09-14 13:50:05 +02:00
parent 1d8bae3aee
commit e15526865d
2 changed files with 21 additions and 18 deletions

View File

@@ -14,26 +14,14 @@
<% @neuigkeiten.each do |n| %>
<div class="step contentbox" id="step-<%=i%>" data-x="<%= i *2000 %>" data-y="<%= Random.rand(0..5)*200 %>" data-rotate="<%= Random.rand(0..18)*10 %>" style="width:1000px; height:500px; padding: 50px; display:block" data-duration="10000"><% @toolbar_elements=[];@questions=[] %>
<div class="media" style="width: 500px; height:250px; transform: scale(1.5) translate(60px,0)" >
<% unless n.picture_robust.big_thumb.to_s.empty? %>
<div class="media" style="width: 660px; height:340px; transform: scale(1.5) translate(120px,50px)" >
<div class="pull-left" href="#">
<% unless n.picture_robust.big_thumb.to_s.empty? %>
<p><br><%= link_to image_tag(n.picture_robust.big_thumb),n.picture_robust.try(:url) %>
</p>
</div>
<% end %>
<div class="media-body">
<h1 itemprop="name">
<%= raw(n.title) %> <%#= link_to fa_icon("edit"), edit_rubrik_neuigkeit_path(n.rubrik, n), remote: true if can? :edit, n %>
</h1>
<div itemprop="articleBody" style="font-size:large">
<%= raw(n.text) %>
</div>
</div>
</div>
<h1>
<% end %>
<h1>
<% if n.has_calentries? %>
<div href="#">
<%= fa_icon("calendar 2x") %>
@@ -47,6 +35,21 @@
<% end %>
</h1>
</div>
<div class="media-body">
<h1 itemprop="name">
<%= raw(n.title) %> <%#= link_to fa_icon("edit"), edit_rubrik_neuigkeit_path(n.rubrik, n), remote: true if can? :edit, n %>
</h1>
<div itemprop="articleBody" style="font-size:large">
<%= raw(n.text) %>
</div>
</div>
</div>
</div>
<% i = i+1 %>

View File

@@ -1 +1 @@
Rails.application.config.assets.precompile += ['blueimp-gallery-all.js']
Rails.application.config.assets.precompile += ['blueimp-gallery-all.js', 'jmpress.js']