diff --git a/app/views/themen/show.html.erb b/app/views/themen/show.html.erb index 6d16cb7..93e79ec 100644 --- a/app/views/themen/show.html.erb +++ b/app/views/themen/show.html.erb @@ -1,6 +1,24 @@ +<%= content_for :header do %> +<%= @thema.title.to_s + " (" + @thema.themengruppe.title.to_s + ")" %> + +<% unless @thema.attachments.first.nil? + # picture_url=URI(root_url) + # picture_url.path=@thema.picture.url(:locale=>nil, :theme=>nil) +end +%> +<% set_meta_tags :og => { + :title => @thema.title.to_s + " (" + @thema.themengruppe.title.to_s + ")", + :type => "article", + :description =>@thema.text_first_words, +:url=>thema_url(:theme=>nil) +} +%> +<%= display_meta_tags %> +<% end %> +

<%= notice %>

-<%= link_to "Zurück", @thema.themengruppe %> -
+<% link_to "Zurück", @thema.themengruppe %> + <% thema=@thema %>
<%= render :partial => 'themen/small', :object => thema %> @@ -20,8 +38,11 @@
+
- +
+<%= render @thema.themengruppe %> +
<% # render :partial=>'layouts/pretty_toolbar' %>