Conflicts:
	Gemfile.lock
This commit is contained in:
2014-10-19 15:45:59 +02:00
6 changed files with 15 additions and 9 deletions

View File

@@ -25,7 +25,7 @@
<%= link_to ff_icon("icon-pencil")+" edit", edit_beispiel_path(beispiel) if can? :edit, beispiel%>
<%= link_to ff_icon("icon-remove")+" delete", beispiel_path(beispiel), :method=>:delete, :data=>{:confirm=>I18n.t('beispiel.sure')} if can? :delete, beispiel %>
<%= link_to "Refres1h", beispiel_path(beispiel,show_comments: true), remote: true %></br>
<% link_to "Refresh", beispiel_path(beispiel,show_comments: true), remote: true %></br>
</span>
</div>
<div class="span4">

View File

@@ -69,7 +69,7 @@
<h2>Beispiele</h2>
<%= link_to t("beispiel.zip") , beispiel_sammlung_lva_path(@lva), class: :linkbox %>
<% @lva.beispiele.each do |b| %>
<% @lva.beispiele.order(:datum).each do |b| %>
<%= render b%>
<% end %>
</div>

View File

@@ -1,12 +1,18 @@
<%= content_for :header do %>
<title>Fetsite - <%= @neuigkeit.title %> (<%= @neuigkeit.rubrik.name %>)</title>
<% set_meta_tags :author => fetprofile_path(@neuigkeit.author.fetprofile) %>
<% set_meta_tags :author => fetprofile_path(@neuigkeit.author.fetprofile) unless @neuigkeit.author.fetprofile.nil? %>
<% set_meta_tags :og => {
:image => @neuigkeit.picture.url.to_s,
:title => @neuigkeit.title.to_s + " (" + @neuigkeit.rubrik.name.to_s + ")",
:type => "article"
:type => "article",
:description =>@neuigkeit.text_first_words,
:article=> {
:author=>@neuigkeit.author.text
}
}
%>
<% set_meta_tags :og=>{:article=> {:published_time=>I18n.l(@neuigkeit.try(:datum).try(:to_date)) }} unless @neuigkeit.try(:datum).try(:to_date).nil? %>
<%= display_meta_tags %>
<% end %>

View File

@@ -1,4 +1,4 @@
<%= link_to studium_path(studium, {:ansicht=>'semesteransicht'}) ,{:class=>"linkbox"} do %>
<%= link_to studium_path(studium, {:ansicht=>'modulgruppenansicht'}) ,{:class=>"linkbox"} do %>
<div class="media">
<div class="pull-left">
<%= image_tag studium.picture.big_thumb.url %>

View File

@@ -14,7 +14,7 @@
<li>
<%= link_to "FAQS", faqs_themengruppen_path,class: :btn ,class: :linkbox %>
</li>
<li><%= link_to "Beispielsammlung", studium_path(Studium.first) ,class: :btn ,class: :linkbox %></li>
<li><%= link_to "Beispielsammlung", studium_path(Studium.first, {:ansicht=>'semesteransicht'}) ,class: :btn ,class: :linkbox %></li>
</ul>
<div class="alert">
<h2>Beta Test</h2>