comfortable_mexican_sofa 1.11.0 → 1.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/README.md +3 -3
- data/app/assets/stylesheets/comfortable_mexican_sofa/base.css.sass +6 -6
- data/app/controllers/admin/cms/categories_controller.rb +0 -2
- data/app/controllers/admin/cms/files_controller.rb +0 -2
- data/app/controllers/admin/cms/layouts_controller.rb +1 -3
- data/app/controllers/admin/cms/pages_controller.rb +0 -2
- data/app/controllers/admin/cms/sites_controller.rb +0 -2
- data/app/controllers/admin/cms/snippets_controller.rb +0 -2
- data/app/controllers/cms/assets_controller.rb +19 -0
- data/app/controllers/cms/content_controller.rb +33 -36
- data/app/models/cms/site.rb +2 -2
- data/app/views/admin/cms/categories/_index.html.haml +1 -1
- data/app/views/admin/cms/files/index.html.haml +0 -1
- data/app/views/admin/cms/pages/_form_blocks.html.haml +1 -1
- data/config/application.rb +2 -0
- data/config/initializers/comfortable_mexican_sofa.rb +11 -3
- data/config/locales/de.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/fr.yml +1 -0
- data/config/locales/ja.yml +1 -0
- data/config/locales/nl.yml +238 -0
- data/config/locales/pl.yml +1 -0
- data/config/locales/pt-BR.yml +1 -0
- data/config/locales/ru.yml +1 -0
- data/config/locales/sv.yml +1 -0
- data/config/locales/zh-CN.yml +1 -0
- data/lib/comfortable_mexican_sofa/authentication/http_auth.rb +10 -3
- data/lib/comfortable_mexican_sofa/configuration.rb +5 -4
- data/lib/comfortable_mexican_sofa/extensions/is_categorized.rb +1 -1
- data/lib/comfortable_mexican_sofa/extensions/is_mirrored.rb +5 -4
- data/lib/comfortable_mexican_sofa/extensions/rails.rb +0 -7
- data/lib/comfortable_mexican_sofa/fixture.rb +1 -1
- data/lib/comfortable_mexican_sofa/fixture/file.rb +1 -1
- data/lib/comfortable_mexican_sofa/routes/cms.rb +4 -4
- data/lib/comfortable_mexican_sofa/version.rb +1 -1
- data/test/controllers/admin/cms/layouts_controller_test.rb +1 -1
- data/test/controllers/admin/cms/pages_controller_test.rb +9 -2
- data/test/controllers/cms/assets_controller_test.rb +29 -0
- data/test/controllers/cms/content_controller_test.rb +72 -66
- data/test/gemfiles/Gemfile.rails.4.0 +1 -1
- data/test/gemfiles/Gemfile.rails.4.1 +20 -0
- data/test/lib/mirrors_test.rb +15 -3
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41489044868c7bb042cdbade3f93d9c3243a3616
|
4
|
+
data.tar.gz: 96b5f18e7166c5f45a546e216036854b584131d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5df44ea25b94cba839ce686bf513f9f02c50b27285c4b2b5a389e124d985fc7e74e9450b3cb1d0081aa6ebec29a1779227322e0aa7a6425978bf2654e3ffd9e
|
7
|
+
data.tar.gz: 83261b21be5c24846cd75568739ddda9d89955fc31b8fba4877f0a3a7e44816d51da1066030d03b9002a50184950483550d45f547bd85f16d37b2d673af1f3a7
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -31,8 +31,8 @@ Then from the Rails project's root run:
|
|
31
31
|
Now take a look inside your `config/routes.rb` file. You'll see where routes attach for the admin area and content serving. Make sure that content serving route appears as a very last item.
|
32
32
|
|
33
33
|
```ruby
|
34
|
-
|
35
|
-
|
34
|
+
comfy_route :cms_admin, :path => '/admin'
|
35
|
+
comfy_route :cms, :path => '/', :sitemap => false
|
36
36
|
```
|
37
37
|
|
38
38
|
When upgrading from the older version please take a look at [Upgrading ComfortableMexicanSofa](https://github.com/comfy/comfortable-mexican-sofa/wiki/Upgrading-ComfortableMexicanSofa)
|
@@ -47,7 +47,7 @@ gem 'comfortable_mexican_sofa', '~> 1.8.0'
|
|
47
47
|
|
48
48
|
Quick Start Guide
|
49
49
|
-----------------
|
50
|
-
After finishing installation you should be able to navigate to http://yoursite/
|
50
|
+
After finishing installation you should be able to navigate to http://yoursite/admin
|
51
51
|
|
52
52
|
Default username and password is 'username' and 'password'. You probably want to change it right away. Admin credentials (among other things) can be found and changed in the cms initializer: [/config/initializers/comfortable\_mexican\_sofa.rb](https://github.com/comfy/comfortable-mexican-sofa/blob/master/config/initializers/comfortable_mexican_sofa.rb)
|
53
53
|
|
@@ -286,12 +286,12 @@ body#comfy
|
|
286
286
|
margin: 0 0 0 28px
|
287
287
|
|
288
288
|
// -- Sites ---------------------------------------------------------------
|
289
|
-
&.c-cms-
|
289
|
+
&.c-admin-cms-sites
|
290
290
|
table .icon
|
291
291
|
background: url(image-path("comfortable_mexican_sofa/icon_site.gif"))
|
292
292
|
|
293
293
|
// -- Layouts -------------------------------------------------------------
|
294
|
-
&.c-cms-
|
294
|
+
&.c-admin-cms-layouts
|
295
295
|
ul.list
|
296
296
|
.item
|
297
297
|
.icon
|
@@ -300,7 +300,7 @@ body#comfy
|
|
300
300
|
margin-left: 35px
|
301
301
|
|
302
302
|
// -- Pages ---------------------------------------------------------------
|
303
|
-
&.c-cms-
|
303
|
+
&.c-admin-cms-pages
|
304
304
|
#form-blocks
|
305
305
|
ul.nav-tabs
|
306
306
|
margin-left: 180px
|
@@ -321,17 +321,17 @@ body#comfy
|
|
321
321
|
font-size: 12px
|
322
322
|
|
323
323
|
// -- Snippets ------------------------------------------------------------
|
324
|
-
&.c-cms-
|
324
|
+
&.c-admin-cms-snippets
|
325
325
|
table .icon
|
326
326
|
background: url(image-path("comfortable_mexican_sofa/icon_snippet.gif"))
|
327
327
|
|
328
328
|
// -- Files ---------------------------------------------------------------
|
329
|
-
&.c-cms-
|
329
|
+
&.c-admin-cms-files
|
330
330
|
table .icon
|
331
331
|
background: url(image-path("comfortable_mexican_sofa/icon_file.gif"))
|
332
332
|
|
333
333
|
// -- Revisions -----------------------------------------------------------
|
334
|
-
&.c-cms-
|
334
|
+
&.c-admin-cms-revisions
|
335
335
|
table
|
336
336
|
th
|
337
337
|
min-width: 175px
|
@@ -9,14 +9,12 @@ class Admin::Cms::CategoriesController < Admin::Cms::BaseController
|
|
9
9
|
def create
|
10
10
|
@category = @site.categories.create!(category_params)
|
11
11
|
rescue ActiveRecord::RecordInvalid
|
12
|
-
logger.detailed_error($!)
|
13
12
|
render :nothing => true
|
14
13
|
end
|
15
14
|
|
16
15
|
def update
|
17
16
|
@category.update_attributes!(category_params)
|
18
17
|
rescue ActiveRecord::RecordInvalid
|
19
|
-
logger.detailed_error($!)
|
20
18
|
render :nothing => true
|
21
19
|
end
|
22
20
|
|
@@ -56,7 +56,6 @@ class Admin::Cms::FilesController < Admin::Cms::BaseController
|
|
56
56
|
end
|
57
57
|
|
58
58
|
rescue ActiveRecord::RecordInvalid
|
59
|
-
logger.detailed_error($!)
|
60
59
|
if params[:ajax]
|
61
60
|
render :nothing => true, :status => :unprocessable_entity
|
62
61
|
else
|
@@ -70,7 +69,6 @@ class Admin::Cms::FilesController < Admin::Cms::BaseController
|
|
70
69
|
flash[:success] = I18n.t('cms.files.updated')
|
71
70
|
redirect_to :action => :edit, :id => @file
|
72
71
|
rescue ActiveRecord::RecordInvalid
|
73
|
-
logger.detailed_error($!)
|
74
72
|
flash.now[:error] = I18n.t('cms.files.update_failure')
|
75
73
|
render :action => :edit
|
76
74
|
end
|
@@ -21,7 +21,6 @@ class Admin::Cms::LayoutsController < Admin::Cms::BaseController
|
|
21
21
|
flash[:success] = I18n.t('cms.layouts.created')
|
22
22
|
redirect_to :action => :edit, :id => @layout
|
23
23
|
rescue ActiveRecord::RecordInvalid
|
24
|
-
logger.detailed_error($!)
|
25
24
|
flash.now[:error] = I18n.t('cms.layouts.creation_failure')
|
26
25
|
render :action => :new
|
27
26
|
end
|
@@ -31,7 +30,6 @@ class Admin::Cms::LayoutsController < Admin::Cms::BaseController
|
|
31
30
|
flash[:success] = I18n.t('cms.layouts.updated')
|
32
31
|
redirect_to :action => :edit, :id => @layout
|
33
32
|
rescue ActiveRecord::RecordInvalid
|
34
|
-
logger.detailed_error($!)
|
35
33
|
flash.now[:error] = I18n.t('cms.layouts.update_failure')
|
36
34
|
render :action => :edit
|
37
35
|
end
|
@@ -55,7 +53,7 @@ protected
|
|
55
53
|
@layout = @site.layouts.new(layout_params)
|
56
54
|
@layout.parent ||= ::Cms::Layout.find_by_id(params[:parent_id])
|
57
55
|
@layout.app_layout ||= @layout.parent.try(:app_layout)
|
58
|
-
@layout.content ||= '{{ cms:page:content:
|
56
|
+
@layout.content ||= '{{ cms:page:content:rich_text }}'
|
59
57
|
end
|
60
58
|
|
61
59
|
def load_layout
|
@@ -29,7 +29,6 @@ class Admin::Cms::PagesController < Admin::Cms::BaseController
|
|
29
29
|
flash[:success] = I18n.t('cms.pages.created')
|
30
30
|
redirect_to :action => :edit, :id => @page
|
31
31
|
rescue ActiveRecord::RecordInvalid
|
32
|
-
logger.detailed_error($!)
|
33
32
|
flash.now[:error] = I18n.t('cms.pages.creation_failure')
|
34
33
|
render :action => :new
|
35
34
|
end
|
@@ -39,7 +38,6 @@ class Admin::Cms::PagesController < Admin::Cms::BaseController
|
|
39
38
|
flash[:success] = I18n.t('cms.pages.updated')
|
40
39
|
redirect_to :action => :edit, :id => @page
|
41
40
|
rescue ActiveRecord::RecordInvalid
|
42
|
-
logger.detailed_error($!)
|
43
41
|
flash.now[:error] = I18n.t('cms.pages.update_failure')
|
44
42
|
render :action => :edit
|
45
43
|
end
|
@@ -25,7 +25,6 @@ class Admin::Cms::SitesController < Admin::Cms::BaseController
|
|
25
25
|
flash[:success] = I18n.t('cms.sites.created')
|
26
26
|
redirect_to admin_cms_site_layouts_path(@site)
|
27
27
|
rescue ActiveRecord::RecordInvalid
|
28
|
-
logger.detailed_error($!)
|
29
28
|
flash.now[:error] = I18n.t('cms.sites.creation_failure')
|
30
29
|
render :action => :new
|
31
30
|
end
|
@@ -35,7 +34,6 @@ class Admin::Cms::SitesController < Admin::Cms::BaseController
|
|
35
34
|
flash[:success] = I18n.t('cms.sites.updated')
|
36
35
|
redirect_to :action => :edit, :id => @site
|
37
36
|
rescue ActiveRecord::RecordInvalid
|
38
|
-
logger.detailed_error($!)
|
39
37
|
flash.now[:error] = I18n.t('cms.sites.update_failure')
|
40
38
|
render :action => :edit
|
41
39
|
end
|
@@ -21,7 +21,6 @@ class Admin::Cms::SnippetsController < Admin::Cms::BaseController
|
|
21
21
|
flash[:success] = I18n.t('cms.snippets.created')
|
22
22
|
redirect_to :action => :edit, :id => @snippet
|
23
23
|
rescue ActiveRecord::RecordInvalid
|
24
|
-
logger.detailed_error($!)
|
25
24
|
flash.now[:error] = I18n.t('cms.snippets.creation_failure')
|
26
25
|
render :action => :new
|
27
26
|
end
|
@@ -31,7 +30,6 @@ class Admin::Cms::SnippetsController < Admin::Cms::BaseController
|
|
31
30
|
flash[:success] = I18n.t('cms.snippets.updated')
|
32
31
|
redirect_to :action => :edit, :id => @snippet
|
33
32
|
rescue ActiveRecord::RecordInvalid
|
34
|
-
logger.detailed_error($!)
|
35
33
|
flash.now[:error] = I18n.t('cms.snippets.update_failure')
|
36
34
|
render :action => :edit
|
37
35
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class Cms::AssetsController < Cms::BaseController
|
2
|
+
before_action :load_cms_layout
|
3
|
+
|
4
|
+
def render_css
|
5
|
+
render :text => @cms_layout.css, :content_type => 'text/css'
|
6
|
+
end
|
7
|
+
|
8
|
+
def render_js
|
9
|
+
render :text => @cms_layout.js, :content_type => 'text/javascript'
|
10
|
+
end
|
11
|
+
|
12
|
+
protected
|
13
|
+
|
14
|
+
def load_cms_layout
|
15
|
+
@cms_layout = @cms_site.layouts.find_by_identifier!(params[:identifier])
|
16
|
+
rescue ActiveRecord::RecordNotFound
|
17
|
+
render :nothing => true, :status => 404
|
18
|
+
end
|
19
|
+
end
|
@@ -1,21 +1,25 @@
|
|
1
1
|
class Cms::ContentController < Cms::BaseController
|
2
|
-
|
2
|
+
|
3
|
+
respond_to :json, :html
|
4
|
+
|
3
5
|
# Authentication module must have #authenticate method
|
4
6
|
include ComfortableMexicanSofa.config.public_auth.to_s.constantize
|
5
|
-
|
7
|
+
|
6
8
|
before_action :load_fixtures
|
7
|
-
before_action :
|
8
|
-
:
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
9
|
+
before_action :authenticate,
|
10
|
+
:only => :show
|
11
|
+
|
12
|
+
rescue_from ActiveRecord::RecordNotFound, :with => :page_not_found
|
13
|
+
|
14
|
+
def show
|
15
|
+
@cms_page = @cms_site.pages.published.find_by_full_path!("/#{params[:cms_path]}")
|
16
|
+
|
17
|
+
if @cms_page.target_page.present?
|
18
|
+
redirect_to @cms_page.target_page.url
|
17
19
|
else
|
18
|
-
|
20
|
+
respond_with(@cms_page) do |format|
|
21
|
+
format.html { render_html }
|
22
|
+
end
|
19
23
|
end
|
20
24
|
end
|
21
25
|
|
@@ -23,37 +27,30 @@ class Cms::ContentController < Cms::BaseController
|
|
23
27
|
render
|
24
28
|
end
|
25
29
|
|
26
|
-
|
27
|
-
render :text => @cms_layout.css, :content_type => 'text/css'
|
28
|
-
end
|
30
|
+
protected
|
29
31
|
|
30
|
-
def
|
31
|
-
|
32
|
+
def render_html(status = 200)
|
33
|
+
if @cms_layout = @cms_page.layout
|
34
|
+
app_layout = (@cms_layout.app_layout.blank? || request.xhr?) ? false : @cms_layout.app_layout
|
35
|
+
render :inline => @cms_page.content, :layout => app_layout, :status => status, :content_type => 'text/html'
|
36
|
+
else
|
37
|
+
render :text => I18n.t('cms.content.layout_not_found'), :status => 404
|
38
|
+
end
|
32
39
|
end
|
33
40
|
|
34
|
-
protected
|
35
|
-
|
36
41
|
def load_fixtures
|
37
42
|
return unless ComfortableMexicanSofa.config.enable_fixtures
|
38
43
|
ComfortableMexicanSofa::Fixture::Importer.new(@cms_site.identifier).import!
|
39
44
|
end
|
40
|
-
|
41
|
-
def
|
42
|
-
@cms_page = @cms_site.pages.published.find_by_full_path!(
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
if @cms_page = @cms_site.pages.published.find_by_full_path('/404')
|
47
|
-
render_html(404)
|
48
|
-
else
|
49
|
-
raise ActionController::RoutingError.new("Page Not Found at: \"#{params[:cms_path]}\"")
|
45
|
+
|
46
|
+
def page_not_found
|
47
|
+
@cms_page = @cms_site.pages.published.find_by_full_path!('/404')
|
48
|
+
|
49
|
+
respond_with @cms_page do |format|
|
50
|
+
format.html { render_html(404) }
|
50
51
|
end
|
51
|
-
end
|
52
52
|
|
53
|
-
def load_cms_layout
|
54
|
-
@cms_layout = @cms_site.layouts.find_by_identifier!(params[:identifier])
|
55
53
|
rescue ActiveRecord::RecordNotFound
|
56
|
-
|
54
|
+
raise ActionController::RoutingError.new("Page Not Found at: \"#{params[:cms_path]}\"")
|
57
55
|
end
|
58
|
-
|
59
|
-
end
|
56
|
+
end
|
data/app/models/cms/site.rb
CHANGED
@@ -47,7 +47,7 @@ class Cms::Site < ActiveRecord::Base
|
|
47
47
|
end
|
48
48
|
return cms_site
|
49
49
|
end
|
50
|
-
|
50
|
+
|
51
51
|
# -- Instance Methods -----------------------------------------------------
|
52
52
|
# When removing entire site, let's not destroy content from other sites
|
53
53
|
# Since before_destroy doesn't really work, this does the trick
|
@@ -57,7 +57,7 @@ class Cms::Site < ActiveRecord::Base
|
|
57
57
|
end
|
58
58
|
|
59
59
|
protected
|
60
|
-
|
60
|
+
|
61
61
|
def self.real_host_from_aliases(host)
|
62
62
|
if aliases = ComfortableMexicanSofa.config.hostname_aliases
|
63
63
|
aliases.each do |alias_host, aliases|
|
@@ -20,5 +20,5 @@
|
|
20
20
|
= form_for :category, :url => admin_cms_site_categories_path(@site), :remote => true, :html => {:id => 'new_category'} do |form|
|
21
21
|
= form.hidden_field :categorized_type, :value => type
|
22
22
|
.input-append
|
23
|
-
= form.text_field :label, :placeholder => '
|
23
|
+
= form.text_field :label, :placeholder => t('.add_placeholder')
|
24
24
|
%button.btn.btn-mini= t('.add')
|
@@ -29,5 +29,4 @@
|
|
29
29
|
= link_to t('.edit'), edit_admin_cms_site_file_path(@site, file), :class => 'btn btn-small'
|
30
30
|
= link_to t('.delete'), admin_cms_site_file_path(@site, file), :method => :delete, :data => {:confirm => t('.are_you_sure')}, :class => 'btn btn-small btn-danger'
|
31
31
|
|
32
|
-
|
33
32
|
= render 'admin/cms/partials/files_after'
|
data/config/application.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
ComfortableMexicanSofa.configure do |config|
|
4
4
|
# Title of the admin area
|
5
5
|
# config.cms_title = 'ComfortableMexicanSofa CMS Engine'
|
6
|
-
|
6
|
+
|
7
7
|
# Controller that is inherited from CmsAdmin::BaseController
|
8
8
|
# config.base_controller = 'ApplicationController'
|
9
9
|
|
@@ -59,7 +59,7 @@ ComfortableMexicanSofa.configure do |config|
|
|
59
59
|
# Admin interface will respect the locale of the site being managed. However you can
|
60
60
|
# force it to English by setting this to `:en`
|
61
61
|
# config.admin_locale = nil
|
62
|
-
|
62
|
+
|
63
63
|
# If you want to keep your CMS tables in a location other than the default database
|
64
64
|
# add a database_config. For example, setting it to 'cms' will look for a cms_#{Rails.env}
|
65
65
|
# definition in your database.yml file
|
@@ -87,7 +87,7 @@ ComfortableMexicanSofa.configure do |config|
|
|
87
87
|
# e.g. config.hostname_aliases = {'host.com' => 'host.inv', 'host_a.com' => ['host.lvh.me', 'host.dev']}
|
88
88
|
# Default is nil (not used)
|
89
89
|
# config.hostname_aliases = nil
|
90
|
-
|
90
|
+
|
91
91
|
# Reveal partials that can be overwritten in the admin area.
|
92
92
|
# Default is false.
|
93
93
|
# config.reveal_cms_partials = false
|
@@ -98,3 +98,11 @@ end
|
|
98
98
|
# YOU REALLY WANT TO CHANGE THIS BEFORE PUTTING YOUR SITE LIVE
|
99
99
|
ComfortableMexicanSofa::HttpAuth.username = 'username'
|
100
100
|
ComfortableMexicanSofa::HttpAuth.password = 'password'
|
101
|
+
|
102
|
+
# You can use bcrypt (gem 'bcrypt-ruby') if you want to:
|
103
|
+
# require 'bcrypt'
|
104
|
+
# ComfortableMexicanSofa::HttpAuth.username = 'username'
|
105
|
+
# ComfortableMexicanSofa::HttpAuth.password = BCrypt::Password.new '... bcrypt hash ...'
|
106
|
+
#
|
107
|
+
# To create a bcrypt hash:
|
108
|
+
# BCrypt::Password.create('password').to_s
|
data/config/locales/de.yml
CHANGED
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/fr.yml
CHANGED
data/config/locales/ja.yml
CHANGED
@@ -0,0 +1,238 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
nl:
|
3
|
+
# -- Models ---------------------------------------------------------------
|
4
|
+
attributes:
|
5
|
+
label: Label
|
6
|
+
slug: Slug
|
7
|
+
parent_id: Ouder
|
8
|
+
content: Inhoud
|
9
|
+
identifier: Identifier
|
10
|
+
activerecord:
|
11
|
+
models:
|
12
|
+
cms/site: Site
|
13
|
+
cms/layout: Lay-out
|
14
|
+
cms/page: Pagina
|
15
|
+
cms/snippet: Snippet
|
16
|
+
cms/file: Bestand
|
17
|
+
attributes:
|
18
|
+
cms/site:
|
19
|
+
identifier: Identifier
|
20
|
+
hostname: Hostname
|
21
|
+
path: Pad
|
22
|
+
locale: Taal
|
23
|
+
is_mirrored: Gespiegeld
|
24
|
+
cms/layout:
|
25
|
+
identifier: Identifier
|
26
|
+
label: Lay-out Naam
|
27
|
+
app_layout: App Lay-out
|
28
|
+
parent_id: Ouder Lay-out
|
29
|
+
css: Stylesheet
|
30
|
+
js: Javascript
|
31
|
+
cms/page:
|
32
|
+
label: Label
|
33
|
+
layout_id: Lay-out
|
34
|
+
slug: Slug
|
35
|
+
target_page_id: Omleiding naar Pagina
|
36
|
+
is_published: Gepubliceerd
|
37
|
+
cms/file:
|
38
|
+
file: Bestand
|
39
|
+
description: Omschrijving
|
40
|
+
cms/snippet:
|
41
|
+
identifier: Identifier
|
42
|
+
|
43
|
+
# -- Controllers ----------------------------------------------------------
|
44
|
+
cms:
|
45
|
+
base:
|
46
|
+
site_not_found: Site niet gevonden
|
47
|
+
fixtures_enabled: CMS Fixtures zijn ingeschakeld. Alle veranderingen die hier gedaan zijn worden weggegooid.
|
48
|
+
|
49
|
+
sites:
|
50
|
+
created: Site aangemaakt
|
51
|
+
creation_failure: Site aanmaken mislukt
|
52
|
+
updated: Site bijgewerkt
|
53
|
+
update_failure: Site bijwerken mislukt
|
54
|
+
deleted: Site verwijderd
|
55
|
+
not_found: Site niet gevonden
|
56
|
+
|
57
|
+
layouts:
|
58
|
+
created: Lay-out aangemaakt
|
59
|
+
creation_failure: Lay-out aanmaken mislukt
|
60
|
+
updated: Lay-out bijgewerkt
|
61
|
+
update_failure: Lay-out bijwerken mislukt
|
62
|
+
deleted: Lay-out verwijderd
|
63
|
+
not_found: Lay-out niet gevonden
|
64
|
+
|
65
|
+
pages:
|
66
|
+
created: Pagina aangemaakt
|
67
|
+
creation_failure: Pagina aanmaken mislukt
|
68
|
+
updated: Pagina bijgewerkt
|
69
|
+
update_failure: Pagina bijwerken mislukt
|
70
|
+
deleted: Pagina verwijderd
|
71
|
+
not_found: Pagina niet gevonden
|
72
|
+
layout_not_found: Geen Lay-outs gevonden. Maak er a.u.b. een aan.
|
73
|
+
|
74
|
+
snippets:
|
75
|
+
created: Snippet aangemaakt
|
76
|
+
creation_failure: Snippet aangemaakt mislukt
|
77
|
+
updated: Snippet bijgewerkt
|
78
|
+
update_failure: Snippet bijwerken mislukt
|
79
|
+
deleted: Snippet verwijderd
|
80
|
+
not_found: Snippet niet gevonden
|
81
|
+
|
82
|
+
revisions:
|
83
|
+
reverted: Content teruggezet
|
84
|
+
record_not_found: Record niet gevonden
|
85
|
+
not_found: Revisie niet gevonden
|
86
|
+
|
87
|
+
files:
|
88
|
+
created: Bestanden geüpload
|
89
|
+
creation_failure: Bestanden uploaden mislukt
|
90
|
+
updated: Bestand bijgewerkt
|
91
|
+
update_failure: Bestand bijwerken mislukt
|
92
|
+
deleted: Bestand verwijderd
|
93
|
+
not_found: Bestand niet gevonden
|
94
|
+
|
95
|
+
content:
|
96
|
+
site_not_found: Site niet gevonden
|
97
|
+
layout_not_found: Lay-out niet gevonden
|
98
|
+
page_not_found: Pagina niet gevonden
|
99
|
+
|
100
|
+
# -- Views ----------------------------------------------------------------
|
101
|
+
admin:
|
102
|
+
cms:
|
103
|
+
base:
|
104
|
+
sites: Sites
|
105
|
+
layouts: Lay-outs
|
106
|
+
pages: Pagina's
|
107
|
+
snippets: Snippets
|
108
|
+
files: Bestanden
|
109
|
+
|
110
|
+
sites:
|
111
|
+
index:
|
112
|
+
title: Sites
|
113
|
+
new_link: Maak Nieuwe Site Aan
|
114
|
+
select: Selecteer Site
|
115
|
+
edit: Bewerk
|
116
|
+
delete: Verwijder
|
117
|
+
are_you_sure: Weet u zeker dat u deze site wilt verwijderen?
|
118
|
+
new:
|
119
|
+
title: Nieuwe Site
|
120
|
+
edit:
|
121
|
+
title: Site Bewerken
|
122
|
+
form:
|
123
|
+
create: Site Aanmaken
|
124
|
+
update: Site Bijwerken
|
125
|
+
is_mirrored: Gespiegeld
|
126
|
+
|
127
|
+
layouts:
|
128
|
+
index:
|
129
|
+
title: Lay-outs
|
130
|
+
new_link: Maak Nieuwe Lay-out Aan
|
131
|
+
index_branch:
|
132
|
+
add_child_layout: Voeg Kind Lay-out Toe
|
133
|
+
edit: Bewerk
|
134
|
+
delete: Verwijder
|
135
|
+
are_you_sure: Weet u het zeker?
|
136
|
+
new:
|
137
|
+
title: Nieuwe Lay-out
|
138
|
+
edit:
|
139
|
+
title: Lay-out Bewerken
|
140
|
+
revision: Revisie
|
141
|
+
form:
|
142
|
+
select_parent_layout: Selecteer Ouder Lay-out
|
143
|
+
select_app_layout: Selecteer Applicatie Lay-out
|
144
|
+
create: Lay-out Aanmaken
|
145
|
+
update: Lay-out Bijwerken
|
146
|
+
|
147
|
+
pages:
|
148
|
+
index:
|
149
|
+
title: Pagina's
|
150
|
+
new_link: Maak Nieuwe Pagina Aan
|
151
|
+
index_branch:
|
152
|
+
toggle: Toggle
|
153
|
+
add_child_page: Voeg Kind Pagina Toe
|
154
|
+
edit: Bewerk
|
155
|
+
delete: Verwijder
|
156
|
+
are_you_sure: Weet u het zeker?
|
157
|
+
new:
|
158
|
+
title: Nieuwe Pagina
|
159
|
+
edit:
|
160
|
+
title: Pagina Bewerken
|
161
|
+
revision: Revisie
|
162
|
+
form:
|
163
|
+
select_target_page: Geen Omleiding
|
164
|
+
preview: Preview
|
165
|
+
create: Pagina Aanmaken
|
166
|
+
update: Pagina Bijwerken
|
167
|
+
is_published: Gepubliceerd
|
168
|
+
form_blocks:
|
169
|
+
no_tags: |-
|
170
|
+
Lay-out heeft geen inhoud-tags gedefinieerd.<br/>
|
171
|
+
Bewerk de inhoud van de lay-out om een inhoud-tag toe te voegen. Bijvoorbeeld: <code>{{cms:page:content}}</code>
|
172
|
+
|
173
|
+
snippets:
|
174
|
+
index:
|
175
|
+
title: Snippets
|
176
|
+
new_link: Maak Nieuw Snippet Aan
|
177
|
+
edit: Bewerk
|
178
|
+
delete: Verwijder
|
179
|
+
are_you_sure: Weet u het zeker?
|
180
|
+
new:
|
181
|
+
title: Nieuw Snippet
|
182
|
+
edit:
|
183
|
+
title: Snippet Bewerken
|
184
|
+
revision: Revisie
|
185
|
+
form:
|
186
|
+
create: Snippet Aanmaken
|
187
|
+
update: Snippet Bijwerken
|
188
|
+
|
189
|
+
revisions:
|
190
|
+
show:
|
191
|
+
title: Revisies van
|
192
|
+
revision: Revisie
|
193
|
+
full_path: Volledig Pad
|
194
|
+
slug: Slug
|
195
|
+
update: Zet terug naar deze Revisie
|
196
|
+
current: Huidig
|
197
|
+
|
198
|
+
files:
|
199
|
+
index:
|
200
|
+
title: Bestanden
|
201
|
+
new_link: Upload Nieuw Bestand
|
202
|
+
edit: Bewerk
|
203
|
+
delete: Verwijder
|
204
|
+
are_you_sure: Weet u het zeker?
|
205
|
+
button: Upload Bestanden
|
206
|
+
new:
|
207
|
+
title: Nieuw Bestand
|
208
|
+
edit:
|
209
|
+
title: Bestand Bewerken
|
210
|
+
form:
|
211
|
+
current_file: Huidig Bestand
|
212
|
+
create: Upload Bestand
|
213
|
+
update: Update Bestand
|
214
|
+
page_form:
|
215
|
+
are_you_sure: Weet u het zeker?
|
216
|
+
file:
|
217
|
+
are_you_sure: Weet u het zeker?
|
218
|
+
|
219
|
+
categories:
|
220
|
+
index:
|
221
|
+
label: Categorieën
|
222
|
+
edit: Bewerk
|
223
|
+
done: Klaar
|
224
|
+
all: Alle
|
225
|
+
add: Toevoegen
|
226
|
+
add_placeholder: Categorie Toevoegen
|
227
|
+
show:
|
228
|
+
are_you_sure: Weet u het zeker?
|
229
|
+
edit:
|
230
|
+
save: Opslaan
|
231
|
+
form:
|
232
|
+
label: Categorieën
|
233
|
+
|
234
|
+
dialogs:
|
235
|
+
image:
|
236
|
+
insert: Afbeelding Invoegen
|
237
|
+
link:
|
238
|
+
create: Link Aanmaken
|