forked from bofh/fetsite
#180 fixed
This commit is contained in:
@@ -1,27 +1,32 @@
|
|||||||
<%= link_to themengruppe,{:class=>'linkbox color-1-dark'} do %>
|
<div class="contentbox color-1-dark">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
|
<%= link_to themengruppe do %>
|
||||||
|
|
||||||
<span class="pull-left">
|
<span class="pull-left">
|
||||||
<% if themengruppe.icon.nil? or themengruppe.icon.empty? %>
|
<% if themengruppe.icon.nil? or themengruppe.icon.empty? %>
|
||||||
<%= image_tag themengruppe.picture.thumb.url,{:class=>"img-rounded"} %>
|
<%= image_tag themengruppe.picture.thumb.url,{:class=>"img-rounded"} %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
<% unless themengruppe.icon.nil? or themengruppe.icon.empty? %> <i class="<%= themengruppe.icon %>" style="font-size:1.5em;margin:0"></i>
|
<% unless themengruppe.icon.nil? or themengruppe.icon.empty? %> <i class="<%= themengruppe.icon %>" style="font-size:1.5em;margin:0"></i>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= themengruppe.title%> </h3>
|
<%= themengruppe.title%> </h3>
|
||||||
</div>
|
</div>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
|
<%= link_to themengruppe do %>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<%= if themengruppe.text.split.size > Themengruppe::WORD_COUNT
|
<%= if themengruppe.text.split.size > Themengruppe::WORD_COUNT
|
||||||
@@ -30,6 +35,7 @@
|
|||||||
themengruppe.text
|
themengruppe.text
|
||||||
end%>
|
end%>
|
||||||
</p>
|
</p>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
@@ -38,7 +44,8 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<% themengruppe.themen.where(:hidelink=>false).where(:isdraft=>false).each do |t| %>
|
<% themengruppe.themen.where(:hidelink=>false).where(:isdraft=>false).each do |t| %>
|
||||||
<li>
|
<li>
|
||||||
<%= render t %>
|
<%= link_to t do %>
|
||||||
|
<%= render t %> <% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -48,4 +55,5 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user