neuigkeiten schema.org

This commit is contained in:
Andreas Stephanides
2015-02-24 13:50:29 +01:00
parent 6197f1d15e
commit 2ab6be038f
2 changed files with 10 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
<span itemprop="memberOf" itemscope itemtype="http://schema.org/Organization">
<%= membership.stop.nil? ? I18n.t("gremium.seit")+" " : I18n.t("gremium.von")+" " %>
<%=membership.start.to_s %>
<%= " "+I18n.t("gremium.bis")+" "+membership.stop.to_s unless membership.stop.nil? %>
<%= Membership::TYPEN_g[membership.fetprofile.geschlecht.to_i][membership.typ.to_i] %>
<%= membership.gremium.fall2 %>
<%= Membership::TYPEN_g[membership.fetprofile.geschlecht.to_i][membership.typ.to_i] %> <span itemprop="name">
<%= membership.gremium.fall2 %></span>
<meta itemprop="sameAs" content="<%= gremium_path(membership.gremium, :theme=>nil)%>"/>
</span>