Merge branch 'master' of https://github.com/fetsite/fetsite
This commit is contained in:
@@ -65,10 +65,7 @@ class ThemenController < ApplicationController
|
|||||||
def edit
|
def edit
|
||||||
@thema = Thema.find(params[:id])
|
@thema = Thema.find(params[:id])
|
||||||
|
|
||||||
if @thema.is_wiki?
|
|
||||||
redirect_to edit_wiki_path(Wiki.find(@thema.id))
|
|
||||||
return
|
|
||||||
end
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html
|
format.html
|
||||||
format.js { @themen= @thema.themengruppe.themen }
|
format.js { @themen= @thema.themengruppe.themen }
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span8">
|
<div class="span8">
|
||||||
|
|
||||||
<b><%=link_to ffi1_icon("note20")+" " + beispiel.name, beispiel.beispieldatei.url, title: beispiel.desc %></b>
|
<b><%=link_to ffi1_icon("note20")+" " + beispiel.name + " " + I18n.l(beispiel.datum), beispiel.beispieldatei.url, title: beispiel.desc %></b>
|
||||||
|
|
||||||
<%= I18n.t("file.size") + ": " + (beispiel.beispieldatei.size/1024.0).round(2).to_s %>KiB <br>
|
<%= I18n.t("file.size") + ": " + (beispiel.beispieldatei.size/1024.0).round(2).to_s %>KiB <br>
|
||||||
<span class="linklist">
|
<span class="linklist">
|
||||||
|
|||||||
Reference in New Issue
Block a user