Merge /home/andis/fetsite
This commit is contained in:
@@ -14,13 +14,29 @@
|
|||||||
<% @neuigkeiten.each do |n| %>
|
<% @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="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)" >
|
<div class="media" style="width: 660px; height:340px; transform: scale(1.5) translate(120px,50px)" >
|
||||||
<% unless n.picture_robust.big_thumb.to_s.empty? %>
|
|
||||||
<div class="pull-left" href="#">
|
<div class="pull-left" href="#">
|
||||||
<p><br><%= link_to image_tag(n.picture_robust.big_thumb),n.picture_robust.try(:url) %>
|
<% 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>
|
</p>
|
||||||
|
<% end %>
|
||||||
|
<h1>
|
||||||
|
<% if n.has_calentries? %>
|
||||||
|
<div href="#">
|
||||||
|
<%= fa_icon("calendar 2x") %>
|
||||||
|
<%= n.relevant_calentry.text %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% elsif n.has_meeting? %>
|
||||||
|
<div href="#">
|
||||||
|
<%= fa_icon("calendar 2x") %>
|
||||||
|
<%= n.meeting.calentry.text unless n.meeting.calentry.nil? %>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<% end %>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<h1 itemprop="name">
|
<h1 itemprop="name">
|
||||||
<%= raw(n.title) %> <%#= link_to fa_icon("edit"), edit_rubrik_neuigkeit_path(n.rubrik, n), remote: true if can? :edit, n %>
|
<%= raw(n.title) %> <%#= link_to fa_icon("edit"), edit_rubrik_neuigkeit_path(n.rubrik, n), remote: true if can? :edit, n %>
|
||||||
@@ -33,20 +49,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h1>
|
|
||||||
<% if n.has_calentries? %>
|
|
||||||
<div href="#">
|
|
||||||
<%= fa_icon("calendar 2x") %>
|
|
||||||
<%= n.relevant_calentry.text %>
|
|
||||||
</div>
|
|
||||||
<% elsif n.has_meeting? %>
|
|
||||||
<div href="#">
|
|
||||||
<%= fa_icon("calendar 2x") %>
|
|
||||||
<%= n.meeting.calentry.text unless n.meeting.calentry.nil? %>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% end %>
|
|
||||||
</h1>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<% i = i+1 %>
|
<% i = i+1 %>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
Rails.application.config.assets.precompile += ['blueimp-gallery-all.js']
|
Rails.application.config.assets.precompile += ['blueimp-gallery-all.js', 'jmpress.js']
|
||||||
|
|||||||
Reference in New Issue
Block a user