Skip to content

Commit

Permalink
modified: admin/articles.rb
Browse files Browse the repository at this point in the history
	modified:   app/helpers/goldencobra/articles_helper.rb
  • Loading branch information
marcometz committed Aug 21, 2012
1 parent fdddf6b commit 9e6a9eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions admin/articles.rb
Expand Up @@ -36,8 +36,8 @@
f.input :title, :hint => "Der Titel der Seite, kann Leerzeichen und Sonderzeichen enthalten"
f.input :content, :label => "Haupt-Textfeld", :input_html => { :class =>"tinymce"}
f.input :active, :hint => "Ist dieser Artikel online zu sehen?"
f.input :tag_list, :hint => "Tags sind komma-getrennte Werte, mit denen sich ein Artikel verschlagworten lässt", :label => "Liste von Tags"
f.input :frontend_tag_list, hint: "Frontend Tags werden u.a. für die Filterung von Übersichtsseiten benutzt. (komma-getrennt)", label: "Frontend Tags"
f.input :tag_list, :hint => "Tags sind komma-getrennte Werte, mit denen sich ein Artikel intern gruppiern lässt", :label => "Liste von internen Tags"
f.input :frontend_tag_list, hint: "Hier eingetragene Begriffe werden auf Übersichtsseiten als Filteroption angeboten.", label: "Filterkriterium"
end
if f.object.article_type.present? && f.object.kind_of_article_type.downcase == "show"
if File.exists?("#{::Rails.root}/app/views/articletypes/#{f.object.article_type_form_file.downcase}/_edit_show.html.erb")
Expand Down
1 change: 0 additions & 1 deletion app/helpers/goldencobra/articles_helper.rb
Expand Up @@ -71,7 +71,6 @@ def index_of_articles(options={})
master_index_article.descendants.order(:created_at).limit(@article.article_for_index_limit).each do |art|
if @article.article_for_index_levels.to_i == 0 || (@article.depth + @article.article_for_index_levels.to_i > art.depth)
rendered_article_list_item = render_article_list_item(art)

result_list += content_tag(dom_element, rendered_article_list_item, :id => "article_index_list_item_#{art.id}", :class => "article_index_list_item")
end
end
Expand Down

0 comments on commit 9e6a9eb

Please sign in to comment.