goldencobra 1.2.0 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/assets/images/goldencobra/chosen-sprite.png +0 -0
- data/app/assets/javascripts/goldencobra/active_admin.js +14 -23
- data/app/assets/javascripts/goldencobra/chosen.jquery.min.js +2 -10
- data/app/assets/stylesheets/goldencobra/chosen.css +312 -274
- data/app/controllers/goldencobra/application_controller.rb +8 -1
- data/app/controllers/goldencobra/articles_controller.rb +2 -20
- data/app/controllers/goldencobra/manage_controller.rb +6 -2
- data/app/helpers/goldencobra/articles_helper.rb +20 -0
- data/app/helpers/goldencobra/navigation_helper.rb +39 -13
- data/app/models/ability.rb +2 -0
- data/app/models/goldencobra/article.rb +5 -6
- data/app/models/goldencobra/article_image.rb +2 -0
- data/app/models/goldencobra/article_widget.rb +2 -0
- data/app/models/goldencobra/author.rb +2 -0
- data/app/models/goldencobra/comment.rb +2 -0
- data/app/models/goldencobra/domain.rb +16 -0
- data/app/models/goldencobra/help.rb +2 -0
- data/app/models/goldencobra/import_metadata.rb +2 -0
- data/app/models/goldencobra/location.rb +3 -1
- data/app/models/goldencobra/menue.rb +2 -2
- data/app/models/goldencobra/metatag.rb +2 -0
- data/app/models/goldencobra/permission.rb +2 -0
- data/app/models/goldencobra/role.rb +2 -0
- data/app/models/goldencobra/role_user.rb +2 -0
- data/app/models/goldencobra/setting.rb +2 -0
- data/app/models/goldencobra/tracking.rb +2 -0
- data/app/models/goldencobra/upload.rb +4 -2
- data/app/models/goldencobra/vita.rb +2 -0
- data/app/models/translation.rb +2 -0
- data/app/models/user.rb +2 -0
- data/app/models/visitor.rb +2 -0
- data/app/views/goldencobra/admin/articles/_articles_index.html.erb +3 -3
- data/app/views/goldencobra/admin/articles/_image_module_sidebar.html.erb +2 -4
- data/app/views/goldencobra/admin/articles/_link_checker.html.erb +2 -1
- data/app/views/goldencobra/admin/articles/_link_checker_index.html.erb +1 -0
- data/app/views/goldencobra/admin/articles/_select_article_type.html.erb +12 -13
- data/app/views/goldencobra/admin/articles/_widgets_sidebar.html.erb +3 -2
- data/app/views/goldencobra/admin/shared/_help.html.erb +15 -0
- data/app/views/goldencobra/admin/shared/_item.html.erb +3 -3
- data/app/views/goldencobra/articles/_headers.html.erb +6 -1
- data/app/views/goldencobra/articles/_navigation_menue.html.erb +6 -0
- data/app/views/goldencobra/articles/_show.html.erb +5 -5
- data/app/worker/articles_cache_worker.rb +1 -1
- data/config/initializers/liquid_tags.rb +47 -4
- data/config/initializers/papertrail_versions.rb +1 -0
- data/config/locales/active_admin.de.yml +8 -8
- data/config/locales/active_admin.en.yml +0 -4
- data/config/locales/activerecord.de.yml +1 -1
- data/config/locales/activerecord.en.yml +5 -2
- data/config/locales/article_types.de.yml +3 -16
- data/config/locales/article_types.en.yml +23 -0
- data/config/locales/devise.de.yml +0 -1
- data/config/locales/devise.en.yml +0 -1
- data/config/locales/en.yml +7 -0
- data/config/locales/goldencobra.de.yml +37 -1
- data/config/settings.yml +2 -0
- data/db/migrate/20131129143509_add_remote_to_goldencobra_menues.rb +5 -0
- data/db/migrate/20131216110750_add_main_to_goldencobra_domains.rb +7 -0
- data/lib/generators/goldencobra/articletype/templates/edit_index.html.erb +7 -7
- data/lib/goldencobra/select_current_client.rb +1 -0
- data/lib/goldencobra/version.rb +3 -1
- data/lib/tasks/cap_info.rb +30 -0
- data/lib/tasks/goldencobra_tasks.rake +2 -0
- data/lib/tasks/i18n.rake +2 -0
- data/lib/tasks/import.rake +47 -9
- metadata +17 -10
@@ -1,4 +1,4 @@
|
|
1
|
-
<% f.inputs "
|
2
|
-
<% f.input :article_for_index_id, label: "Übersicht von Artikeln im Verzeichnis", :as => :select, :collection => Goldencobra::Article.all.map{|c| ["#{c.path.map(&:title).join(" / ")}", c.id]}.sort{|a,b| a[0] <=> b[0]}, :include_blank => "/", id: "article_event_articleindex_id", :
|
3
|
-
<% f.input :display_index_types, :
|
1
|
+
<% f.inputs "Übersichtsoptionen", :class => "foldable inputs" do %>
|
2
|
+
<% f.input :article_for_index_id, label: "Übersicht von Artikeln im Verzeichnis", :hint => "Alle Artikel unterhalb dieses Artikels werden aufgelistet, exklusive diesem selbst", :as => :select, :collection => Goldencobra::Article.all.map{|c| ["#{c.path.map(&:title).join(" / ")}", c.id]}.sort{|a,b| a[0] <=> b[0]}, :include_blank => "/", id: "article_event_articleindex_id", :input_html => { :class => 'chzn-select', :style => 'width: 70%;' } %>
|
3
|
+
<% f.input :display_index_types, :label => "Seiten", :hint => "Welche Seiten sollen auf der Übersicht angezeigt werden?", :as => :select, :collection => Goldencobra::Article::DisplayIndexTypes, :include_blank => false %>
|
4
4
|
<% end %>
|
@@ -18,14 +18,12 @@
|
|
18
18
|
<br/><br/>
|
19
19
|
-->
|
20
20
|
|
21
|
-
<
|
21
|
+
<h5>Bildergallery einfügen</h5>
|
22
22
|
<p>Alle Bilder, die mit folgenden Tags versehen sind, sollen angezeigt werden</p>
|
23
23
|
|
24
24
|
<%= semantic_form_for ["admin", @article], :html => {:id => "goldencobra_article_image_gallery_tags"} do |f| %>
|
25
25
|
<ul>
|
26
|
-
<%= select_tag 'article[image_gallery_tags][]', options_for_select(Goldencobra::Upload.scoped.tag_counts_on(:tags).map{|tag| tag.name},
|
27
|
-
@article.image_gallery_tags.present? ? @article.image_gallery_tags.split(",") : []),
|
28
|
-
:multiple => true, :class => "chzn-select" %>
|
26
|
+
<%= select_tag 'article[image_gallery_tags][]', options_for_select(Goldencobra::Upload.scoped.tag_counts_on(:tags).map{|tag| tag.name}, @article.image_gallery_tags.present? ? @article.image_gallery_tags.split(",") : []), :multiple => true, :class => "chzn-select", 'data-placeholder' => 'Tags auswählen' %>
|
29
27
|
</ul>
|
30
28
|
|
31
29
|
<% if @article.image_gallery_tags.present? %>
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<h5>Hier haben Sie die Möglichkeit alle Links dieses Artikels auf Funktionalität zu überprüfen.</h5>
|
1
2
|
|
2
3
|
<% if @article.link_checker.present? && @article.link_checker.class == Hash %>
|
3
4
|
<% status200er = @article.link_checker.select{|key,value| value.present? && value['response_code'] == "200"} %>
|
@@ -28,4 +29,4 @@
|
|
28
29
|
</ul>
|
29
30
|
<% end %>
|
30
31
|
|
31
|
-
<%= link_to "
|
32
|
+
<%= link_to "Links jetzt überprüfen", run_link_checker_admin_article_path(@article.id) %>
|
@@ -1,5 +1,6 @@
|
|
1
1
|
<% bad_links = {} %>
|
2
2
|
<% Goldencobra::Article.select("id, link_checker").each do |article| %>
|
3
|
+
<% next if !(article.link_checker.class == Hash) %>
|
3
4
|
<% article.link_checker.select{|key,value| value.present? && value['response_code'] != "200"}.each do |key,values| %>
|
4
5
|
<% bad_links[key] = {:rcode => values['response_code'], :error => values['response_error']} if bad_links[key].blank? %>
|
5
6
|
<% bad_links[key][:source] = [] if bad_links[key][:source].blank? %>
|
@@ -1,21 +1,20 @@
|
|
1
1
|
<% article_types = {} %>
|
2
|
+
|
2
3
|
<% Goldencobra::Article.article_types_for_select.each do |article_type|
|
3
|
-
translated_article_type = I18n.t(
|
4
|
+
translated_article_type = I18n.t(article_type.parameterize.downcase, scope: [:article_types], default: article_type)
|
4
5
|
article_types[translated_article_type.to_sym] = article_type
|
5
6
|
end %>
|
6
|
-
|
7
|
-
f.inputs I18n.t(:selection, scope: [:article_types]), :class => "foldable inputs" do
|
7
|
+
|
8
|
+
<%= f.inputs I18n.t(:selection, scope: [:article_types]), :class => "foldable inputs" do
|
8
9
|
if article_types.count > 0
|
9
|
-
f.input :article_type, :as => :select, :collection => article_types, include_blank: true
|
10
|
+
f.input :article_type, :label => "Artikeltyp", :as => :select, :collection => article_types.sort, include_blank: true
|
10
11
|
end
|
11
|
-
f.input :title, :hint => "Der Titel der Seite,
|
12
|
-
f.input :breadcrumb, :label => "Kurzer Titel", :hint => "
|
13
|
-
f.input :content, :input_html => { :class =>"tinymce"}
|
14
|
-
f.input :
|
15
|
-
f.input :
|
16
|
-
f.input :
|
12
|
+
f.input :title, :label => "Titel", :hint => "Der Titel/die Überschrift des Artikels/der Seite, hier können Leerzeichen und Sonderzeichen verwendet werden"
|
13
|
+
f.input :breadcrumb, :label => "Kurzer Titel", :hint => "Wird in der URL, für den Breadcrumb-Pfad und im Meta-Title der Seite verwendet, maximal 70 Zeichen"
|
14
|
+
f.input :content, :label => "Haupt-Textfeld", :hint => "Das Haupt-Textfeld wird für den kompletten Inhalt ihrer Seite verwendet", :input_html => { :class => "tinymce" }
|
15
|
+
f.input :teaser, :hint => "Dieser Text beschreibt den Artikel auf Übersichtsseiten kurz, außerdem wird er für die Beschreibung bei Google & Facebook genutzt", :input_html => { :rows => 5 }
|
16
|
+
f.input :tag_list, :label => "Liste von internen Tags", :hint => "Tags sind komma-getrennte Werte, mit denen sich ein Artikel intern gruppiern lässt"
|
17
|
+
f.input :frontend_tag_list, label: "Filterkriterium", hint: "Hier eingetragene Begriffe werden auf Übersichtsseiten als Filteroptionen angeboten"
|
17
18
|
f.input :parent_id, :as => :hidden
|
18
19
|
f.input :url_name, :as => :hidden
|
19
|
-
end
|
20
|
-
|
21
|
-
%>
|
20
|
+
end %>
|
@@ -1,14 +1,15 @@
|
|
1
1
|
<div class="widget-sidebar">
|
2
|
-
<h5>Folgende
|
2
|
+
<h5>Folgende Schnipsel werden zusätzlich zu den Standard-Schnipseln angezeigt</h5>
|
3
3
|
<%= form_tag update_widgets_admin_article_path(@article.id) do %>
|
4
4
|
<ul>
|
5
5
|
<% Goldencobra::Widget.tag_counts_on(:tags).each do |widget_tag| %>
|
6
|
-
<li><b
|
6
|
+
<li><b>Position: <%= widget_tag.name.capitalize %></b></li>
|
7
7
|
<% Goldencobra::Widget.active.not_default.tagged_with(widget_tag).each do |w| %>
|
8
8
|
<li><%= check_box_tag("widget_ids[]", "#{w.id}", @article.widget_ids.include?(w.id), :id => "widget_#{w.id}" ) %> <%= w.title %></li>
|
9
9
|
<% end %>
|
10
10
|
<% end %>
|
11
11
|
</ul>
|
12
|
+
<br/>
|
12
13
|
<%= submit_tag t("submit_widget", :scope => [:active_admin, :sidebars]), id: "submit_widgets_partial" %>
|
13
14
|
<% end %>
|
14
15
|
</div>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<% exclude_list = ["tablerow", "assign", "break", "capture", "case", "comment", "continue", "cycle", "decrement", "for", "if", "ifchanged", "include", "increment", "raw", "unless"] %>
|
2
|
+
<p>Folgende Funktionen können sie in Textfeldern verwenden um zusätzlichen Inhalt darzustellen</p>
|
3
|
+
<ul>
|
4
|
+
<% Liquid::Template.tags.each do |key,value| %>
|
5
|
+
<% next if exclude_list.include?(key) %>
|
6
|
+
<li><b><%= key %></b><br/>
|
7
|
+
<% if value.respond_to?(:description) %>
|
8
|
+
<%= value.description %><br/>
|
9
|
+
<% end %>
|
10
|
+
<% if value.respond_to?(:usage) %>
|
11
|
+
Verwendung:<br/><%= value.usage %>
|
12
|
+
<% end %>
|
13
|
+
</li>
|
14
|
+
<% end %>
|
15
|
+
</ul>
|
@@ -9,10 +9,10 @@
|
|
9
9
|
<% if Goldencobra::Permission.restricted?(item) %>
|
10
10
|
<div class="secured"></div>
|
11
11
|
<% end %>
|
12
|
-
<div class="title"><%= link_to item.send(link_name), eval("admin_#{url_path.pluralize}_path(:q => {:parent_ids_in => item.id})")
|
12
|
+
<div class="title"><%= link_to item.send(link_name), eval("admin_#{url_path.pluralize}_path(:q => {:parent_ids_in => item.id})"), :title => "Pfad anzeigen" %></div>
|
13
13
|
<div class="options">
|
14
|
-
<%= link_to "
|
15
|
-
<%= link_to "
|
14
|
+
<%= link_to "edit", eval("edit_admin_#{url_path}_path(item)"), :class => "edit_link", :title => "Bearbeiten" %>
|
15
|
+
<%= link_to "new", eval("new_admin_#{url_path}_path(:parent => item)"), :class => "new_link", :title => "Neu" %>
|
16
16
|
</div>
|
17
17
|
</div>
|
18
18
|
<% if item.children %>
|
@@ -1,10 +1,15 @@
|
|
1
1
|
<%# zusatz meta tags, die nicht mit display_meta_tags ausgespielt werden %>
|
2
2
|
<meta charset="utf-8">
|
3
|
-
|
3
|
+
|
4
4
|
<%= display_meta_tags unless options[:exclude] && options[:exclude].include?("metatags") %>
|
5
5
|
|
6
6
|
<%= stylesheet_link_tag "goldencobra/application", :media => "all" unless options[:exclude] && options[:exclude].include?("stylesheets") %>
|
7
|
+
|
8
|
+
<%# TODO: javascripts einzeln excluden koennen, nicht nur gemeinsam in application.js %>
|
7
9
|
<%= javascript_include_tag "goldencobra/application" unless options[:exclude] && options[:exclude].include?("javascripts") %>
|
10
|
+
|
8
11
|
<%= bugtracker unless options[:exclude] && options[:exclude].include?("bugtracker") %>
|
12
|
+
|
9
13
|
<%= edit_article_link unless options[:exclude] && options[:exclude].include?("article_administration") %>
|
14
|
+
|
10
15
|
<%#= airbrake_javascript_notifier unless options[:exclude] && options[:exclude].include?("airbrake") %> <% # Geht nicht. %>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<%= navigation_menu(menue_title, :id => options["id"], :class => options["class_name"], :show_image => false, :show_description_title => false, :show_call_to_action_name => false, :show_description => false) %>
|
2
|
+
|
3
|
+
|
4
|
+
<%# TODO with liquid_url_path request %>
|
5
|
+
|
6
|
+
<%#= navigation_menu(menue_title, :id => options["id"], :class => options["class_name"], :show_image => false, :show_description_title => false, :show_call_to_action_name => false, :show_description => false, :liquid_url_path => context["url_params"]["article_id"]) %>
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<% content_for :article_title do %>
|
2
|
-
<%= article.title if article%>
|
2
|
+
<%= article.title if article %>
|
3
3
|
<% end %>
|
4
4
|
|
5
5
|
<% content_for :article_subtitle do %>
|
6
|
-
<%= article.subtitle if article%>
|
6
|
+
<%= article.subtitle if article %>
|
7
7
|
<% end %>
|
8
8
|
|
9
9
|
<% content_for :article_summary do %>
|
@@ -42,9 +42,9 @@
|
|
42
42
|
<% if article %>
|
43
43
|
<% article.widgets.active.each do |widget| %>
|
44
44
|
<section class="<%= widget.css_name %>" id="<%= widget.id_name %>">
|
45
|
-
|
46
|
-
|
47
|
-
|
45
|
+
<% template = Liquid::Template.parse(widget.content) %>
|
46
|
+
<%= raw(template.render(Goldencobra::Article::LiquidParser)) %>
|
47
|
+
</section>
|
48
48
|
<% end %>
|
49
49
|
<% end %>
|
50
50
|
<% end %>
|
@@ -6,7 +6,7 @@ class ArticlesCacheWorker
|
|
6
6
|
#cache leeren
|
7
7
|
Goldencobra::Article.active.each do |article|
|
8
8
|
article.updated_at = Time.now
|
9
|
-
article.save
|
9
|
+
article.without_versioning :save
|
10
10
|
end
|
11
11
|
#Alte Versionen von has_paper_trail löschen (https://github.com/airblade/paper_trail)
|
12
12
|
if ActiveRecord::Base.connection.table_exists?("goldencobra_settings")
|
@@ -1,14 +1,57 @@
|
|
1
1
|
class PartialRenderer < Liquid::Tag
|
2
2
|
#include ActionController::RequestForgeryProtection
|
3
|
+
def self.description
|
4
|
+
"Darstellung eines beliebigen Partials"
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.usage
|
8
|
+
"{% render_partial name_of_partial | option1: wert, option2: wert2 %}"
|
9
|
+
end
|
10
|
+
|
11
|
+
def initialize(tag_name, message, tokens)
|
12
|
+
super
|
13
|
+
@partial_name = message.split("|")[0].to_s.strip
|
14
|
+
if message.split('|')[1].present? && message.split('|')[1].include?(":")
|
15
|
+
@options = message.split('|')[1].split(', ').map{ |h| h1, h2 = h.split(":"); { h1.strip.to_sym => h2.strip } }.reduce(:merge)
|
16
|
+
else
|
17
|
+
@options = {}
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def render(context)
|
22
|
+
@options = @options.merge(:context => context)
|
23
|
+
ActionController::Base.new.render_to_string(:partial => @partial_name, :layout => false, :locals => @options )
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
Liquid::Template.register_tag('render_partial', PartialRenderer)
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
# {% navigation_menue 3 | id: css_id_name, class_name: test %}
|
32
|
+
class NavigationRenderer < Liquid::Tag
|
33
|
+
#include ActionController::RequestForgeryProtection
|
34
|
+
def self.description
|
35
|
+
"Einbindung eines Menues"
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.usage
|
39
|
+
"{% navigation_menue 3 | id: css_id_name, class_name: test %}"
|
40
|
+
end
|
3
41
|
|
4
42
|
def initialize(tag_name, message, tokens)
|
5
|
-
|
6
|
-
|
43
|
+
super
|
44
|
+
@menue_title = message.split("|")[0].to_s.strip
|
45
|
+
if message.split('|')[1].present? && message.split('|')[1].include?(":")
|
46
|
+
@options = message.split('|')[1].split(', ').map{ |h| h1, h2 = h.split(":"); { h1.strip => h2.strip } }.reduce(:merge)
|
47
|
+
else
|
48
|
+
@options = {}
|
49
|
+
end
|
7
50
|
end
|
8
51
|
|
9
52
|
def render(context)
|
10
|
-
|
53
|
+
ActionController::Base.new.render_to_string(:partial => "/goldencobra/articles/navigation_menue", :layout => false, :locals => { :context => context, :menue_title => @menue_title, :options => @options })
|
11
54
|
end
|
12
55
|
end
|
13
56
|
|
14
|
-
Liquid::Template.register_tag('
|
57
|
+
Liquid::Template.register_tag('navigation_menue', NavigationRenderer)
|
@@ -0,0 +1 @@
|
|
1
|
+
PaperTrail.config.version_limit = 10
|
@@ -2,18 +2,18 @@ de:
|
|
2
2
|
goldencobra:
|
3
3
|
flash_notice:
|
4
4
|
name_of_flashnotice: "Möchten Sie diesen Artikel wirklich als Startseite?"
|
5
|
-
action_Startpage: "Artikel als Startseite
|
5
|
+
action_Startpage: "Diesen Artikel als Startseite einrichten"
|
6
6
|
startpage: "Dieser Artikel ist nun der Startartikel"
|
7
7
|
online: "Sichtbarkeit dieses Artikels ändern?"
|
8
8
|
delete_article: "Artikel wirklich löschen?"
|
9
9
|
filter:
|
10
10
|
filter_titel: "Titel"
|
11
11
|
filter_subtitel: "Untertitel"
|
12
|
-
filter_breadcrumb: "
|
13
|
-
filter_url: "
|
14
|
-
filter_template: "
|
15
|
-
filter_created: "
|
16
|
-
filter_updated: "
|
12
|
+
filter_breadcrumb: "Breadcrumb-Titel"
|
13
|
+
filter_url: "Website-Adresse"
|
14
|
+
filter_template: "Layout"
|
15
|
+
filter_created: "Erstellt am"
|
16
|
+
filter_updated: "Bearbeitet am"
|
17
17
|
filter_parent: "Elternelement"
|
18
18
|
filter_type: "Artikeltyp"
|
19
19
|
menue:
|
@@ -26,8 +26,6 @@ de:
|
|
26
26
|
dashboard_welcome:
|
27
27
|
welcome: "Willkommen in Active Admin. Dies ist die Standard-Übersichtsseite."
|
28
28
|
call_to_action: "Siehe 'app/admin/dashboards.rb', um Übersichts-Bereiche hinzuzufügen."
|
29
|
-
dashboard_sections:
|
30
|
-
last_updated_articles: 'Zuletzt bearbeitete Artikel'
|
31
29
|
view: "Anzeigen"
|
32
30
|
devise:
|
33
31
|
login:
|
@@ -71,6 +69,8 @@ de:
|
|
71
69
|
image_module: "Bildergalerie"
|
72
70
|
image_formates: "Bildgrößen"
|
73
71
|
overview: "Überblick"
|
72
|
+
menue_options: "Menü-Optionen"
|
73
|
+
link_checker: "Links überprüfen"
|
74
74
|
per_page: "Einträge pro Seite"
|
75
75
|
pagination:
|
76
76
|
empty: "Keine %{model} gefunden"
|
@@ -26,10 +26,6 @@ en:
|
|
26
26
|
dashboard_welcome:
|
27
27
|
welcome: "Welcome to Active Admin. This is the default dashboard page."
|
28
28
|
call_to_action: "To add dashboard sections, checkout 'app/admin/dashboards.rb'"
|
29
|
-
dashboard_sections:
|
30
|
-
last_updated_articles: "Last updated articles"
|
31
|
-
last_created_articles: "Last created articles"
|
32
|
-
last_created_widgets: "Last created widgets"
|
33
29
|
view: "View"
|
34
30
|
edit: "Edit"
|
35
31
|
delete: "Delete"
|
@@ -1,6 +1,9 @@
|
|
1
1
|
en:
|
2
2
|
activerecord:
|
3
3
|
models:
|
4
|
+
link-checker:
|
5
|
+
one: "Link-Checker"
|
6
|
+
other: "Link-Checker"
|
4
7
|
comment:
|
5
8
|
one: "Comment"
|
6
9
|
other: "Comments"
|
@@ -111,8 +114,8 @@ en:
|
|
111
114
|
enable_social_sharing: "show social media buttons"
|
112
115
|
cacheable: "cacheable"
|
113
116
|
external_url_redirect: "redirect to external url"
|
114
|
-
created_at: "
|
115
|
-
updated_at: "
|
117
|
+
created_at: "created at"
|
118
|
+
updated_at: "updated at"
|
116
119
|
goldencobra/upload:
|
117
120
|
source: "source"
|
118
121
|
created_at: "created at"
|
@@ -3,14 +3,14 @@ de:
|
|
3
3
|
selection: "Artikel"
|
4
4
|
consultant-index: "Berater Übersicht"
|
5
5
|
consultant-show: "Berater Einzelseite"
|
6
|
-
report-show: "Nachrichten Einzelseite"
|
7
6
|
report-index: "Nachrichten Übersicht"
|
7
|
+
report-show: "Nachrichten Einzelseite"
|
8
8
|
subsidiary-index: "Niederlassung Übersicht"
|
9
9
|
subsidiary-show: "Niederlassung Einzelseite"
|
10
10
|
event-index: "Veranstaltungen Übersicht"
|
11
11
|
event-show: "Veranstaltungen Einzelseite"
|
12
12
|
default-index: "Standard Übersicht"
|
13
|
-
default-show: "Standard"
|
13
|
+
default-show: "Standard Einzelseite"
|
14
14
|
pressreferent-index: "Pressereferenten Übersicht"
|
15
15
|
pressreferent-show: "Pressereferenten Einzelseite"
|
16
16
|
personelreferent-index: "Personalreferenten Übersicht"
|
@@ -20,17 +20,4 @@ de:
|
|
20
20
|
pressrelease-index: "Pressemitteilung Übersicht"
|
21
21
|
pressrelease-show: "Pressemitteilung Einzelseite"
|
22
22
|
faq-index: "FAQ Übersicht"
|
23
|
-
faq-show: "FAQ Einzelseite"
|
24
|
-
goldencobra:
|
25
|
-
article_types:
|
26
|
-
Chairman: "Vorstand"
|
27
|
-
Subsidiary: "Niederlassungen"
|
28
|
-
Consultant: "Berater"
|
29
|
-
Event: "Veranstaltungen"
|
30
|
-
Report: "News"
|
31
|
-
Article: "Artikel"
|
32
|
-
Pressreferent: "Pressereferenten"
|
33
|
-
Personelreferent: "Personalreferenten"
|
34
|
-
Faq: "Häufige Fragen"
|
35
|
-
Pressrelease: "Pressemitteilung"
|
36
|
-
Default: "Standard"
|
23
|
+
faq-show: "FAQ Einzelseite"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
en:
|
2
|
+
article_types:
|
3
|
+
selection: "Artikel"
|
4
|
+
consultant-index: "Berater Übersicht"
|
5
|
+
consultant-show: "Berater Einzelseite"
|
6
|
+
report-index: "Nachrichten Übersicht"
|
7
|
+
report-show: "Nachrichten Einzelseite"
|
8
|
+
subsidiary-index: "Niederlassung Übersicht"
|
9
|
+
subsidiary-show: "Niederlassung Einzelseite"
|
10
|
+
event-index: "Veranstaltungen Übersicht"
|
11
|
+
event-show: "Veranstaltungen Einzelseite"
|
12
|
+
default-index: "Standard Übersicht"
|
13
|
+
default-show: "Standard Einzelseite"
|
14
|
+
pressreferent-index: "Pressereferenten Übersicht"
|
15
|
+
pressreferent-show: "Pressereferenten Einzelseite"
|
16
|
+
personelreferent-index: "Personalreferenten Übersicht"
|
17
|
+
personelreferent-show: "Personalreferenten Einzelseite"
|
18
|
+
chairman-index: "Vorstand Übersicht"
|
19
|
+
chairman-show: "Vorstand Einzelseite"
|
20
|
+
pressrelease-index: "Pressemitteilung Übersicht"
|
21
|
+
pressrelease-show: "Pressemitteilung Einzelseite"
|
22
|
+
faq-index: "FAQ Übersicht"
|
23
|
+
faq-show: "FAQ Einzelseite"
|
data/config/locales/en.yml
CHANGED
@@ -5,6 +5,13 @@ en:
|
|
5
5
|
no-user-found-with-this-email: "No user found"
|
6
6
|
wrong-username-or-password: "Wrong username or password"
|
7
7
|
success_redirect: "Login success. Redirecting ..."
|
8
|
+
views:
|
9
|
+
pagination:
|
10
|
+
first: "|‹"
|
11
|
+
previous: "«"
|
12
|
+
next: "»"
|
13
|
+
last: "›|"
|
14
|
+
truncate: "..."
|
8
15
|
active_admin:
|
9
16
|
resource:
|
10
17
|
upload: "Upload"
|
@@ -1,3 +1,39 @@
|
|
1
1
|
de:
|
2
2
|
articles:
|
3
|
-
read_on: 'weiterlesen'
|
3
|
+
read_on: 'weiterlesen'
|
4
|
+
goldencobra:
|
5
|
+
article_types:
|
6
|
+
Chairman: "Vorstand"
|
7
|
+
Subsidiary: "Niederlassungen"
|
8
|
+
Consultant: "Berater"
|
9
|
+
Event: "Veranstaltungen"
|
10
|
+
Report: "Nachrichten"
|
11
|
+
Article: "Artikel"
|
12
|
+
Pressreferent: "Pressereferenten"
|
13
|
+
Personelreferent: "Personalreferenten"
|
14
|
+
Faq: "Häufige Fragen"
|
15
|
+
Pressrelease: "Pressemitteilung"
|
16
|
+
Default: "Standard"
|
17
|
+
Partner: "Partner"
|
18
|
+
consultant-index: "Berater Übersicht"
|
19
|
+
consultant-show: "Berater Einzelseite"
|
20
|
+
report-index: "Nachrichten Übersicht"
|
21
|
+
report-show: "Nachrichten Einzelseite"
|
22
|
+
subsidiary-index: "Niederlassung Übersicht"
|
23
|
+
subsidiary-show: "Niederlassung Einzelseite"
|
24
|
+
event-index: "Veranstaltungen Übersicht"
|
25
|
+
event-show: "Veranstaltungen Einzelseite"
|
26
|
+
default-index: "Standard Übersicht"
|
27
|
+
default-show: "Standard Einzelseite"
|
28
|
+
pressreferent-index: "Pressereferenten Übersicht"
|
29
|
+
pressreferent-show: "Pressereferenten Einzelseite"
|
30
|
+
personelreferent-index: "Personalreferenten Übersicht"
|
31
|
+
personelreferent-show: "Personalreferenten Einzelseite"
|
32
|
+
chairman-index: "Vorstand Übersicht"
|
33
|
+
chairman-show: "Vorstand Einzelseite"
|
34
|
+
pressrelease-index: "Pressemitteilung Übersicht"
|
35
|
+
pressrelease-show: "Pressemitteilung Einzelseite"
|
36
|
+
faq-index: "FAQ Übersicht"
|
37
|
+
faq-show: "FAQ Einzelseite"
|
38
|
+
partner-index: "Partner Übersicht"
|
39
|
+
partner-show: "Partner Einzelseite"
|