forked from bofh/fetsite
neuigkeiten Themen view fix
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<% if can? :show, small %>
|
||||
<a name="thema_<%=small.id%>" href="#<%=small.id%>">
|
||||
<h2><%= link_to small.title,small %> <%= link_to fa_icon("pencil"), verwalten_thema_path(small) if can? :edit, small %> </h2>
|
||||
<div itemscope itemtype="http://schema.org/Article">
|
||||
<meta itemprop="sameAs" content="<%= thema_url(thema, {theme:nil, locale:nil})%>"/>
|
||||
<h2><span itemprop="name"><%= link_to small.title,small %></span> <%= link_to fa_icon("pencil"), verwalten_thema_path(small) if can? :edit, small %> </h2>
|
||||
</a>
|
||||
<%= image_tag small.titlepics.first.datei.url unless small.titlepics.first.nil? %>
|
||||
<% if small.is_outdated? %>
|
||||
@@ -68,3 +70,4 @@
|
||||
<% else %>
|
||||
Error
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user