refinerycms-sl-calendar 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. data/app/controllers/refinery/calendar/admin/events_controller.rb +20 -0
  2. data/app/controllers/refinery/calendar/admin/venues_controller.rb +15 -0
  3. data/app/controllers/refinery/calendar/events_controller.rb +38 -0
  4. data/app/helpers/refinery/calendar/calendar_helper.rb +246 -0
  5. data/app/models/refinery/calendar/event.rb +60 -0
  6. data/app/models/refinery/calendar/venue.rb +17 -0
  7. data/app/views/refinery/calendar/admin/events/_actions.html.erb +26 -0
  8. data/app/views/refinery/calendar/admin/events/_event.html.erb +28 -0
  9. data/app/views/refinery/calendar/admin/events/_events.html.erb +2 -0
  10. data/app/views/refinery/calendar/admin/events/_form.html.erb +86 -0
  11. data/app/views/refinery/calendar/admin/events/_records.html.erb +18 -0
  12. data/app/views/refinery/calendar/admin/events/_sortable_list.html.erb +5 -0
  13. data/app/views/refinery/calendar/admin/events/edit.html.erb +1 -0
  14. data/app/views/refinery/calendar/admin/events/index.html.erb +8 -0
  15. data/app/views/refinery/calendar/admin/events/new.html.erb +1 -0
  16. data/app/views/refinery/calendar/admin/shared/_links.html.erb +8 -0
  17. data/app/views/refinery/calendar/admin/shared/_locale_picker.html.erb +11 -0
  18. data/app/views/refinery/calendar/admin/venues/_actions.html.erb +26 -0
  19. data/app/views/refinery/calendar/admin/venues/_form.html.erb +36 -0
  20. data/app/views/refinery/calendar/admin/venues/_records.html.erb +18 -0
  21. data/app/views/refinery/calendar/admin/venues/_sortable_list.html.erb +5 -0
  22. data/app/views/refinery/calendar/admin/venues/_venue.html.erb +23 -0
  23. data/app/views/refinery/calendar/admin/venues/_venues.html.erb +2 -0
  24. data/app/views/refinery/calendar/admin/venues/edit.html.erb +1 -0
  25. data/app/views/refinery/calendar/admin/venues/index.html.erb +8 -0
  26. data/app/views/refinery/calendar/admin/venues/new.html.erb +1 -0
  27. data/app/views/refinery/calendar/events/_event.html.erb +8 -0
  28. data/app/views/refinery/calendar/events/index.html.erb +15 -0
  29. data/app/views/refinery/calendar/events/show.html.erb +28 -0
  30. data/app/views/sitemap/index.xml.builder +25 -0
  31. data/config/database.yml.mysql +20 -0
  32. data/config/database.yml.postgresql +58 -0
  33. data/config/database.yml.sqlite3 +18 -0
  34. data/config/initializers/refinery/authentication.rb +4 -0
  35. data/config/initializers/refinery/core.rb +50 -0
  36. data/config/initializers/refinery/images.rb +44 -0
  37. data/config/initializers/refinery/pages.rb +52 -0
  38. data/config/initializers/refinery/resources.rb +26 -0
  39. data/config/locales/en.yml +61 -0
  40. data/config/locales/es.yml +59 -0
  41. data/config/locales/fr.yml +57 -0
  42. data/config/locales/nb.yml +59 -0
  43. data/config/locales/nl.yml +59 -0
  44. data/config/routes.rb +31 -0
  45. data/db/migrate/1_create_calendar_events.rb +34 -0
  46. data/db/migrate/2_create_calendar_venues.rb +29 -0
  47. data/db/migrate/3_create_calendar_events_translations.rb +16 -0
  48. data/db/migrate/4_create_calendar_venues_translations.rb +13 -0
  49. data/db/seeds.rb +26 -0
  50. data/lib/generators/refinery/calendar_generator.rb +19 -0
  51. data/lib/refinery/events/engine.rb +26 -0
  52. data/lib/refinery/events.rb +21 -0
  53. data/lib/refinery/venues/engine.rb +14 -0
  54. data/lib/refinery/venues.rb +21 -0
  55. data/lib/refinerycms-calendar.rb +2 -0
  56. data/lib/tasks/refinery/calendar.rake +13 -0
  57. data/readme.md +23 -0
  58. data/vendor/assets/images/chosen-sprite.png +0 -0
  59. data/vendor/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  60. data/vendor/assets/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  61. data/vendor/assets/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  62. data/vendor/assets/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  63. data/vendor/assets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  64. data/vendor/assets/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  65. data/vendor/assets/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  66. data/vendor/assets/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  67. data/vendor/assets/images/ui-icons_217bc0_256x240.png +0 -0
  68. data/vendor/assets/images/ui-icons_2e83ff_256x240.png +0 -0
  69. data/vendor/assets/images/ui-icons_469bdd_256x240.png +0 -0
  70. data/vendor/assets/images/ui-icons_6da8d5_256x240.png +0 -0
  71. data/vendor/assets/images/ui-icons_cd0a0a_256x240.png +0 -0
  72. data/vendor/assets/images/ui-icons_d8e7f3_256x240.png +0 -0
  73. data/vendor/assets/images/ui-icons_f9bd01_256x240.png +0 -0
  74. data/vendor/assets/javascripts/chosen.jquery.min.js +10 -0
  75. data/vendor/assets/javascripts/jquery.ui.timepicker.addon.js +1326 -0
  76. data/vendor/assets/javascripts/refinery/calendar.js.coffee +7 -0
  77. data/vendor/assets/stylesheets/chosen.css +372 -0
  78. data/vendor/assets/stylesheets/jquery-ui.css +377 -0
  79. data/vendor/assets/stylesheets/refinery/calendar.css.scss +22 -0
  80. metadata +158 -0
@@ -0,0 +1,36 @@
1
+ <%= form_for [refinery, :calendar_admin, @venue] do |f| -%>
2
+ <%= render '/refinery/admin/error_messages',
3
+ :object => @venue,
4
+ :include_object_name => true %>
5
+
6
+ <%= render '/refinery/calendar/admin/shared/locale_picker', :current_locale => Globalize.locale if Refinery.i18n_enabled? %>
7
+
8
+ <div class='field'>
9
+ <%= f.label :name -%>
10
+ <%= f.text_field :name, :class => 'larger widest' -%>
11
+
12
+ </div>
13
+
14
+ <div class='field'>
15
+ <%= f.label :address -%>
16
+ <%= f.text_field :address, :class => 'larger' -%>
17
+
18
+ </div>
19
+
20
+ <div class='field'>
21
+ <%= f.label :url -%>
22
+ <%= f.text_field :url, :class => 'larger' -%>
23
+
24
+ </div>
25
+
26
+ <div class='field'>
27
+ <%= f.label :phone -%>
28
+ <%= f.text_field :phone -%>
29
+
30
+ </div>
31
+
32
+ <%= render '/refinery/admin/form_actions', :f => f,
33
+ :continue_editing => false,
34
+ :delete_title => t('delete', :scope => 'refinery.venues.admin.venues.venue'),
35
+ :delete_confirmation => t('message', :scope => 'refinery.admin.delete', :title => @venue.name) %>
36
+ <% end -%>
@@ -0,0 +1,18 @@
1
+ <% if searching? %>
2
+ <h2><%= t('results_for', :scope => 'refinery.admin.search', :query => params[:search]) %></h2>
3
+ <% end %>
4
+ <div class='pagination_container'>
5
+ <% if @venues.any? %>
6
+ <%= render 'venues' %>
7
+ <% else %>
8
+ <p>
9
+ <% unless searching? %>
10
+ <strong>
11
+ <%= t('.no_items_yet') %>
12
+ </strong>
13
+ <% else %>
14
+ <%= t('no_results', :scope => 'refinery.admin.search') %>
15
+ <% end %>
16
+ </p>
17
+ <% end %>
18
+ </div>
@@ -0,0 +1,5 @@
1
+ <ul id='sortable_list'>
2
+ <%= render :partial => 'venue', :collection => @venues %>
3
+ </ul>
4
+ <%= render '/refinery/admin/sortable_list',
5
+ :continue_reordering => (local_assigns.keys.include?(:continue_reordering)) ? continue_reordering : true %>
@@ -0,0 +1,23 @@
1
+ <li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(venue) -%>">
2
+ <span class='title'>
3
+ <%= venue.name.presence || venue.translations.detect {|t| t.name.present?}.name %>
4
+ <% if Refinery.i18n_enabled? and Refinery::I18n.frontend_locales.many? %>
5
+ <span class='preview'>
6
+ <% venue.translations.each do |translation| %>
7
+ <%= link_to refinery_icon_tag("flags/#{translation.locale}.png", :size => '16x11'),
8
+ refinery.edit_calendar_admin_venue_path(venue, :switch_locale => translation.locale),
9
+ :class => 'locale' if translation.name.present? %>
10
+ <% end %>
11
+ </span>
12
+ <% end %>
13
+ </span>
14
+ <span class='actions'>
15
+ <%= link_to refinery_icon_tag("application_edit.png"), refinery.edit_calendar_admin_venue_path(venue),
16
+ :title => t('.edit') %>
17
+ <%= link_to refinery_icon_tag("delete.png"), refinery.calendar_admin_venue_path(venue),
18
+ :class => "cancel confirm-delete",
19
+ :title => t('.delete'),
20
+ :confirm => t('message', :scope => 'refinery.admin.delete', :title => venue.name),
21
+ :method => :delete %>
22
+ </span>
23
+ </li>
@@ -0,0 +1,2 @@
1
+ <%= will_paginate @venues if Refinery::Calendar::Admin::VenuesController.pageable? %>
2
+ <%= render 'sortable_list' %>
@@ -0,0 +1 @@
1
+ <%= render 'form' %>
@@ -0,0 +1,8 @@
1
+ <section id='records'>
2
+ <h2>Calendar: Venues</h2>
3
+ <%= render 'records' %>
4
+ </section>
5
+ <aside id='actions'>
6
+ <%= render 'actions' %>
7
+ </aside>
8
+ <%= render '/refinery/admin/make_sortable', :tree => false if !searching? and ::Refinery::Calendar::Admin::VenuesController.sortable? and ::Refinery::Calendar::Venue.count > 1 %>
@@ -0,0 +1 @@
1
+ <%= render 'form' %>
@@ -0,0 +1,8 @@
1
+ <%= div_for event do -%>
2
+ <time class="date" datetime="<%= event.from %>">
3
+ <%= event.from.strftime('%b %d').html_safe %>
4
+ </time>
5
+
6
+ <h1><%= link_to event.title, refinery.calendar_event_path(event) %></h1>
7
+ <p><%= event.excerpt %></p>
8
+ <% end -%>
@@ -0,0 +1,15 @@
1
+ <% content_for :body_content_left do %>
2
+ <section id="events">
3
+ <%= render @events %>
4
+ </section>
5
+ <section id="calendar">
6
+ <% date = Date.today %>
7
+ <%= calendar(:year => date.year,
8
+ :month => date.month,
9
+ :table_id => 'tcalendar') %>
10
+ </section>
11
+ <% end %>
12
+
13
+ <% content_for :stylesheets, stylesheet_link_tag('events') %>
14
+
15
+ <%= render '/refinery/content_page' %>
@@ -0,0 +1,28 @@
1
+ <% content_for :body_content_title do %>
2
+ <%= @event.title %>
3
+ <% end %>
4
+
5
+ <% content_for :body_content_left do %>
6
+ <h4>Event details</h4>
7
+ <h5><%= @event.venue_name %></h5>
8
+
9
+ <p>From <%= @event.from.strftime('%B %d, %Y %I:%M%p') %> to
10
+ <br><%= @event.to.strftime('%B %d, %Y %I:%M%p') %></p>
11
+
12
+ <% if @event.registration_link.present? %>
13
+ <p><%= link_to 'Register for this event', @event.registration_link %></p>
14
+ <% end -%>
15
+
16
+ <% if @event.venue_address.present? %>
17
+ <p><%= link_to 'View it on a map', "http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=#{CGI::escape(@event.venue.address)}&ie=UTF8&z=16" %></p>
18
+ <% end -%>
19
+
20
+ <div class="event_description">
21
+ <h4><%= @event.excerpt %></h4>
22
+ <%=raw @event.description %>
23
+ </div>
24
+ <% end %>
25
+
26
+ <% content_for :stylesheets, stylesheet_link_tag('events') %>
27
+
28
+ <%= render '/refinery/content_page' %>
@@ -0,0 +1,25 @@
1
+ xml.instruct!
2
+
3
+ xml.urlset "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do
4
+
5
+ @locales.each do |locale|
6
+ ::I18n.locale = locale
7
+ ::Refinery::Page.live.in_menu.includes(:parts).each do |page|
8
+ # exclude sites that are external to our own domain.
9
+ page_url = if page.url.is_a?(Hash)
10
+ # This is how most pages work without being overriden by link_url
11
+ page.url.merge({:only_path => false})
12
+ elsif page.url.to_s !~ /^http/
13
+ # handle relative link_url addresses.
14
+ [request.protocol, request.host_with_port, page.url].join
15
+ end
16
+
17
+ # Add XML entry only if there is a valid page_url found above.
18
+ xml.url do
19
+ xml.loc url_for(page_url)
20
+ xml.lastmod page.updated_at.to_date
21
+ end if page_url.present? and page.show_in_menu?
22
+ end
23
+ end
24
+
25
+ end
@@ -0,0 +1,20 @@
1
+ development: &development
2
+ adapter: mysql2
3
+ host: localhost
4
+ username: root
5
+ password:
6
+ database: your_local_database
7
+
8
+ test: &test
9
+ adapter: mysql2
10
+ host: localhost
11
+ username: root
12
+ password:
13
+ database: your_test_database
14
+
15
+ production: &production
16
+ adapter: mysql2
17
+ host: localhost
18
+ database: your_production_database
19
+ username: your_production_database_login
20
+ password: your_production_database_password
@@ -0,0 +1,58 @@
1
+ # PostgreSQL. Versions 7.4 and 8.x are supported.
2
+ #
3
+ # Install the pg driver:
4
+ # gem install pg
5
+ # On Mac OS X with macports:
6
+ # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
7
+ # On Windows:
8
+ # gem install pg
9
+ # Choose the win32 build.
10
+ # Install PostgreSQL and put its /bin directory on your path.
11
+ #
12
+ # Configure Using Gemfile
13
+ # gem 'pg'
14
+ #
15
+ development:
16
+ adapter: postgresql
17
+ encoding: unicode
18
+ database: refinery_database_development
19
+ pool: 5
20
+ username: postgres
21
+ password: postgres
22
+ min_messages: warning
23
+
24
+ # Connect on a TCP socket. Omitted by default since the client uses a
25
+ # domain socket that doesn't need configuration. Windows does not have
26
+ # domain sockets, so uncomment these lines.
27
+ #host: localhost
28
+ #port: 5432
29
+
30
+ # Schema search path. The server defaults to $user,public
31
+ #schema_search_path: myapp,sharedapp,public
32
+
33
+ # Minimum log levels, in increasing order:
34
+ # debug5, debug4, debug3, debug2, debug1,
35
+ # log, notice, warning, error, fatal, and panic
36
+ # The server defaults to notice.
37
+ #min_messages: warning
38
+
39
+ # Warning: The database defined as "test" will be erased and
40
+ # re-generated from your development database when you run "rake".
41
+ # Do not set this db to the same as development or production.
42
+ test:
43
+ adapter: postgresql
44
+ encoding: unicode
45
+ database: refinery_database_test
46
+ pool: 5
47
+ username: postgres
48
+ password: postgres
49
+ min_messages: warning
50
+
51
+ production:
52
+ adapter: postgresql
53
+ encoding: unicode
54
+ database: refinery_database_production
55
+ pool: 5
56
+ username: postgres
57
+ password: postgres
58
+ min_messages: warning
@@ -0,0 +1,18 @@
1
+ # SQLite version 3.x
2
+ development:
3
+ adapter: <%= "jdbc" if defined?(JRUBY_PLATFORM) %>sqlite3
4
+ database: db/development.sqlite3
5
+ timeout: 5000
6
+
7
+ # Warning: The database defined as 'test' will be erased and
8
+ # re-generated from your development database when you run 'rake'.
9
+ # Do not set this db to the same as development or production.
10
+ test:
11
+ adapter: <%= "jdbc" if defined?(JRUBY_PLATFORM) %>sqlite3
12
+ database: db/test.sqlite3
13
+ timeout: 5000
14
+
15
+ production:
16
+ adapter: <%= "jdbc" if defined?(JRUBY_PLATFORM) %>sqlite3
17
+ database: db/production.sqlite3
18
+ timeout: 5000
@@ -0,0 +1,4 @@
1
+ Refinery::Authentication.configure do |config|
2
+ # Configure whether to allow superuser to assign roles
3
+ # config.superuser_can_assign_roles = false
4
+ end
@@ -0,0 +1,50 @@
1
+ Refinery::Core.configure do |config|
2
+ # When true will rescue all not found errors and display a friendly error page
3
+ config.rescue_not_found = Rails.env.production?
4
+
5
+ # When true will use Amazon's Simple Storage Service instead of
6
+ # the default file system for storing resources and images
7
+ config.s3_backend = !(ENV['S3_KEY'].nil? || ENV['S3_SECRET'].nil?)
8
+
9
+ # Whenever Refinery caches anything and can set a cache key, it will add
10
+ # a prefix to the cache key containing the string you set here.
11
+ # config.base_cache_key = :refinery
12
+
13
+ # Site name
14
+ # config.site_name = "Company Name"
15
+
16
+ # This activates Google Analytics tracking within your website. If this
17
+ # config is left blank or set to UA-xxxxxx-x then no remote calls to
18
+ # Google Analytics are made.
19
+ # config.google_analytics_page_code = "UA-xxxxxx-x"
20
+
21
+ # Enable/disable authenticity token on frontend
22
+ # config.authenticity_token_on_frontend = true
23
+
24
+ # Hide/show child pages in menu
25
+ # config.menu_hide_children = false
26
+
27
+ # CSS class selectors for menu helper
28
+ # config.menu_css = {:selected=>"selected", :first=>"first", :last=>"last"}
29
+
30
+ # Should set this if concerned about DOS attacks. See
31
+ # http://markevans.github.com/dragonfly/file.Configuration.html#Configuration
32
+ # config.dragonfly_secret = "3133e393cf9a9c61355f3511ea078802e3fbb313245f1154"
33
+
34
+ # Show/hide IE6 upgrade message in the backend
35
+ # config.ie6_upgrade_message_enabled = true
36
+
37
+ # Show/hide browser update message in the backend
38
+ # config.show_internet_explorer_upgrade_message = false
39
+
40
+ # Add extra tags to the wymeditor whitelist e.g. = {'tag' => {'attributes' => {'1' => 'href'}}} or just {'tag' => {}}
41
+ # config.wymeditor_whitelist_tags = {}
42
+
43
+ # Register extra javascript for backend
44
+ config.register_javascript "jquery.ui.timepicker.addon.js"
45
+ config.register_javascript "refinery/calendar.js"
46
+
47
+ # Register extra stylesheet for backend (optional options)
48
+ config.register_stylesheet "refinery/calendar", :media => 'screen'
49
+ config.register_stylesheet "jquery-ui", :media => 'screen'
50
+ end
@@ -0,0 +1,44 @@
1
+ Refinery::Images.configure do |config|
2
+ # Configures the maximum allowed upload size (in bytes) for an image
3
+ # config.max_image_size = 5242880
4
+
5
+ # Configure how many images per page should be displayed when a dialog is presented that contains images
6
+ # config.pages_per_dialog = 18
7
+
8
+ # Configure how many images per page should be displayed when a dialog is presented that
9
+ # contains images and image resize options
10
+ # config.pages_per_dialog_that_have_size_options = 12
11
+
12
+ # Configure how many images per page should be displayed in the list of images in the admin area
13
+ # config.pages_per_admin_index = 20
14
+
15
+ # Configure image sizes
16
+ # config.user_image_sizes = {:small=>"110x110>", :medium=>"225x255>", :large=>"450x450>"}
17
+
18
+ # Configure white-listed mime types for validation
19
+ # config.whitelisted_mime_types = ["image/jpeg", "image/png", "image/gif", "image/tiff"]
20
+
21
+ # Configure image view options
22
+ # config.image_views = [:grid, :list]
23
+
24
+ # Configure default image view
25
+ # config.preferred_image_view = :grid
26
+
27
+ # Configure S3 (you can also use ENV for this)
28
+ # The s3_backend setting by default defers to the core setting for this but can be set just for images.
29
+ # config.s3_backend = Refinery::Core.s3_backend
30
+ # config.s3_bucket_name = ENV['S3_BUCKET']
31
+ # config.s3_access_key_id = ENV['S3_KEY']
32
+ # config.s3_secret_access_key = ENV['S3_SECRET']
33
+ # config.s3_region = ENV['S3_REGION]
34
+
35
+ # Configure Dragonfly
36
+ # This is where in the middleware stack to insert the Dragonfly middleware
37
+ # config.dragonfly_insert_before = "ActionDispatch::Callbacks"
38
+ # config.dragonfly_secret = "3133e393cf9a9c61355f3511ea078802e3fbb313245f1154"
39
+ # If you decide to trust file extensions replace :ext below with :format
40
+ # config.dragonfly_url_format = "/system/images/:job/:basename.:ext"
41
+ # config.datastore_root_path = "/Users/joe/code/refinerycms-calendar/spec/dummy/public/system/refinery/images"
42
+ # config.trust_file_extensions = false
43
+
44
+ end
@@ -0,0 +1,52 @@
1
+ Refinery::Pages.configure do |config|
2
+ # Configure specific page templates
3
+ # config.types.register :home do |home|
4
+ # home.parts = %w[intro body]
5
+ # end
6
+
7
+ # Configure global page default parts
8
+ # config.default_parts = ["Body", "Side Body"]
9
+
10
+ # Configure whether to allow adding new page parts
11
+ # config.new_page_parts = false
12
+
13
+ # Configure whether to enable marketable_urls
14
+ # config.marketable_urls = true
15
+
16
+ # Configure how many pages per page should be displayed when a dialog is presented that contains a links to pages
17
+ # config.pages_per_dialog = 14
18
+
19
+ # Configure how many pages per page should be displayed in the list of pages in the admin area
20
+ # config.pages_per_admin_index = 20
21
+
22
+ # Configure whether to strip diacritics from Western characters
23
+ # config.approximate_ascii = false
24
+
25
+ # Configure whether to strip non-ASCII characters from the friendly_id string
26
+ # config.strip_non_ascii = false
27
+
28
+ # Set this to true if you want to override slug which automatically gets generated
29
+ # when you create a page
30
+ # config.use_custom_slugs = false
31
+
32
+ # Set this to true if you want backend pages to be cached
33
+ # config.cache_pages_backend = false
34
+
35
+ # Set this to true to activate full-page-cache
36
+ # config.cache_pages_full = false
37
+
38
+ # Set this to true to fully expand the page hierarchy in the admin
39
+ # config.auto_expand_admin_tree = true
40
+
41
+ # config.layout_template_whitelist = ["application"]
42
+
43
+ # config.view_template_whitelist = ["home", "show"]
44
+
45
+ # config.use_layout_templates = false
46
+
47
+ # config.use_view_templates = false
48
+
49
+ # config.page_title = {:chain_page_title=>false, :ancestors=>{:separator=>" | ", :class=>"ancestors", :tag=>"span"}, :page_title=>{:class=>nil, :tag=>nil, :wrap_if_not_chained=>false}}
50
+
51
+ # config.absolute_page_links = false
52
+ end
@@ -0,0 +1,26 @@
1
+ Refinery::Resources.configure do |config|
2
+ # Configures the maximum allowed upload size (in bytes) for a file upload
3
+ # config.max_file_size = 52428800
4
+
5
+ # Configure how many resources per page should be displayed when a dialog is presented that contains resources
6
+ # config.pages_per_dialog = 12
7
+
8
+ # Configure how many resources per page should be displayed in the list of resources in the admin area
9
+ # config.pages_per_admin_index = 20
10
+
11
+ # Configure S3 (you can also use ENV for this)
12
+ # The s3_backend setting by default defers to the core setting for this but can be set just for resources.
13
+ # config.s3_backend = Refinery::Core.s3_backend
14
+ # config.s3_bucket_name = ENV['S3_BUCKET']
15
+ # config.s3_access_key_id = ENV['S3_KEY']
16
+ # config.s3_secret_access_key = ENV['S3_SECRET']
17
+ # config.s3_region = ENV['S3_REGION]
18
+
19
+ # Configure Dragonfly
20
+ # This is where in the middleware stack to insert the Dragonfly middleware
21
+ # config.dragonfly_insert_before = "ActionDispatch::Callbacks"
22
+ # config.dragonfly_secret = "3133e393cf9a9c61355f3511ea078802e3fbb313245f1154"
23
+ # config.dragonfly_url_format = "/system/resources/:job/:basename.:format"
24
+ # config.datastore_root_path = "/Users/joe/code/refinerycms-calendar/spec/dummy/public/system/refinery/resources"
25
+
26
+ end
@@ -0,0 +1,61 @@
1
+ en:
2
+ refinery:
3
+ plugins:
4
+ venues:
5
+ title: Venues
6
+ calendar:
7
+ title: Calendar
8
+ calendar:
9
+ admin:
10
+ shared:
11
+ links:
12
+ manage_events: Manage Events
13
+ manage_venues: Manage Venues
14
+ venues:
15
+ actions:
16
+ create_new: Add New Venue
17
+ reorder: Reorder Venues
18
+ reorder_done: Done Reordering Venues
19
+ records:
20
+ title: Venues
21
+ sorry_no_results: Sorry! There are no results found.
22
+ no_items_yet: There are no Venues yet. Click "Add New Venue" to add your
23
+ first venue.
24
+ venue:
25
+ view_live_html: View this venue live <br/><em>(opens in a new window)</em>
26
+ edit: Edit this venue
27
+ delete: Remove this venue forever
28
+ events:
29
+ actions:
30
+ create_new: Add New Event
31
+ reorder: Reorder Events
32
+ reorder_done: Done Reordering Events
33
+ records:
34
+ title: Events
35
+ sorry_no_results: Sorry! There are no results found.
36
+ no_items_yet: There are no Events yet. Click "Add New Event" to add your
37
+ first event.
38
+ event:
39
+ view_live_html: View this event live <br/><em>(opens in a new window)</em>
40
+ edit: Edit this event
41
+ delete: Remove this event forever
42
+ venues:
43
+ show:
44
+ other: Other Venues
45
+ events:
46
+ show:
47
+ other: Other Events
48
+ activerecord:
49
+ attributes:
50
+ refinery/calendar/venue:
51
+ name: Name
52
+ address: Address
53
+ url: Url
54
+ phone: Phone
55
+ refinery/calendar/event:
56
+ title: Title
57
+ from: From
58
+ to: To
59
+ registration_link: Registration Link
60
+ excerpt: Excerpt
61
+ description: Description
@@ -0,0 +1,59 @@
1
+ es:
2
+ refinery:
3
+ plugins:
4
+ venues:
5
+ title: Venues
6
+ events:
7
+ title: Events
8
+ calendar:
9
+ admin:
10
+ venues:
11
+ actions:
12
+ create_new: Crear nuevo venue
13
+ reorder: Reordenar venues
14
+ reorder_done: Reordenación de venues completada
15
+ records:
16
+ title: Venues
17
+ sorry_no_results: Lo siento, no hay resultados
18
+ no_items_yet: No hay venues todavía. Pulsa en "Crear nuevo Venue" para
19
+ crear tu primer venue.
20
+ venue:
21
+ view_live_html: Ver este venue como abierto al público <br/><em>(abre
22
+ en ventana nueva)</em>
23
+ edit: Editar este venue
24
+ delete: Borrar este venue para siempre
25
+ events:
26
+ actions:
27
+ create_new: Crear nuevo event
28
+ reorder: Reordenar events
29
+ reorder_done: Reordenación de events completada
30
+ records:
31
+ title: Events
32
+ sorry_no_results: Lo siento, no hay resultados
33
+ no_items_yet: No hay events todavía. Pulsa en "Crear nuevo Event" para
34
+ crear tu primer event.
35
+ event:
36
+ view_live_html: Ver este event como abierto al público <br/><em>(abre
37
+ en ventana nueva)</em>
38
+ edit: Editar este event
39
+ delete: Borrar este event para siempre
40
+ venues:
41
+ show:
42
+ other: Otros venues
43
+ events:
44
+ show:
45
+ other: Otros events
46
+ activerecord:
47
+ attributes:
48
+ refinery/calendar/venue:
49
+ name: Name
50
+ address: Address
51
+ url: Url
52
+ phone: Phone
53
+ refinery/calendar/event:
54
+ title: Title
55
+ from: From
56
+ to: To
57
+ registration_link: Registration Link
58
+ excerpt: Excerpt
59
+ description: Description
@@ -0,0 +1,57 @@
1
+ fr:
2
+ refinery:
3
+ plugins:
4
+ venues:
5
+ title: Venues
6
+ events:
7
+ title: Events
8
+ calendar:
9
+ admin:
10
+ venues:
11
+ actions:
12
+ create_new: Créer un(e) nouve(au/l/lle) Venue
13
+ reorder: Réordonner les Venues
14
+ reorder_done: Fin de réordonnancement des Venues
15
+ records:
16
+ title: Venues
17
+ sorry_no_results: Désolé ! Aucun résultat.
18
+ no_items_yet: Il n'y a actuellement aucun(e) Venue. Cliquer sur "Créer
19
+ un(e) nouve(au/l/lle) Venue" pour créer votre premi(er/ère) venue.
20
+ venue:
21
+ view_live_html: Voir ce(t/tte) venue <br/><em>(Ouvre une nouvelle fenêtre)</em>
22
+ edit: Modifier ce(t/tte) venue
23
+ delete: Supprimer définitivement ce(t/tte) venue
24
+ events:
25
+ actions:
26
+ create_new: Créer un(e) nouve(au/l/lle) Event
27
+ reorder: Réordonner les Events
28
+ reorder_done: Fin de réordonnancement des Events
29
+ records:
30
+ title: Events
31
+ sorry_no_results: Désolé ! Aucun résultat.
32
+ no_items_yet: Il n'y a actuellement aucun(e) Event. Cliquer sur "Créer
33
+ un(e) nouve(au/l/lle) Event" pour créer votre premi(er/ère) event.
34
+ event:
35
+ view_live_html: Voir ce(t/tte) event <br/><em>(Ouvre une nouvelle fenêtre)</em>
36
+ edit: Modifier ce(t/tte) event
37
+ delete: Supprimer définitivement ce(t/tte) event
38
+ venues:
39
+ show:
40
+ other: Autres Venues
41
+ events:
42
+ show:
43
+ other: Autres Events
44
+ activerecord:
45
+ attributes:
46
+ refinery/calendar/venue:
47
+ name: Name
48
+ address: Address
49
+ url: Url
50
+ phone: Phone
51
+ refinery/calendar/event:
52
+ title: Title
53
+ from: From
54
+ to: To
55
+ registration_link: Registration Link
56
+ excerpt: Excerpt
57
+ description: Description