forked from bofh/fetsite
fixes in views
This commit is contained in:
@@ -40,7 +40,7 @@ end
|
||||
<meta itemprop="representativeOfPage" content="true" />
|
||||
</span>
|
||||
<div class="media-body">
|
||||
<h2><span itemprop="givenName"><%= @fetprofile.vorname %></span><span itemprop="familyName"> <%= @fetprofile.nachname %></span><% unless @fetprofile.shot.empty? %><span itemprop=""> <%= @fetprofile.short %> </span><% end %></h2>
|
||||
<h2><span itemprop="givenName"><%= @fetprofile.vorname %></span><span itemprop="familyName"> <%= @fetprofile.nachname %></span><% unless @fetprofile.short.empty? %><span itemprop=""> <%= @fetprofile.short %> </span><% end %></h2>
|
||||
<p itemprop="email">
|
||||
<%= @fetprofile.fetmail %>
|
||||
</p>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<% if can? :show, small %>
|
||||
<a name="thema_<%=small.id%>" href="#<%=small.id%>">
|
||||
<div itemscope itemtype="http://schema.org/Article">
|
||||
<meta itemprop="sameAs" content="<%= thema_url(thema, {theme:nil, locale:nil})%>"/>
|
||||
<meta itemprop="sameAs" content="<%= thema_url(small, {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? %>
|
||||
|
||||
Reference in New Issue
Block a user