Skip to content

Commit 4a8c302

Browse files
committed
Fix bug where adding content to pages wasn't functional.
1 parent 9f537b3 commit 4a8c302

File tree

6 files changed

+10
-15
lines changed

6 files changed

+10
-15
lines changed

app/assets/javascripts/cms/page_editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//= require 'jquery'
22
//= require 'jquery_ujs'
33
//= require 'cms/core_library'
4-
//= require 'bootstrap-modal'
4+
//= require 'bootstrap/modal'
55
//= require 'ckeditor-jquery'
66
//= require 'cms/ajax'
77

app/assets/stylesheets/cms/application.css.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
@charset "utf-8";
22

3+
4+
35
$experimental-support-for-khtml: false;
46
@import "compass/reset";
57
@import "compass/css3";
68
@import "compass/typography";
79
@import "compass/css3/box";
810

11+
// Basic items for making modals work
12+
@import "bootstrap/mixins";
13+
@import "bootstrap/variables";
14+
@import "bootstrap/modals";
15+
916
@import 'core';
1017

1118
@import "cms/includes/_rem";
1219
@import "cms/includes/_animation";
1320

14-
//@import "cms/sitemap";
1521
@import "cms/bootstrap-customizations";
1622

1723
/* IMPORTING STYLES */

app/assets/stylesheets/cms/bootstrap-customizations.css.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//@import "bootstrap";
2-
//@import "bootstrap-responsive";
31

42
#form-preview {
53

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
<%= content_for :button_bar, render('cms/pages/page_buttons') %>
1+
<%= content_for :button_bar, render('cms/toolbar/toolbar') %>
22
<iframe name="page_content" src="<%= edit_content_path(current_page) %>" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="100%" scrolling="auto"></iframe>

app/views/cms/page_components/new.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<% @content_types.each_with_index do |type, i| %>
1010
<li><%= link_to h(type.display_name), new_engine_aware_path(type,
1111
"#{type.param_key}[connect_to_page_id]" => params[:connect_to_page_id],
12-
"#{type.model_class_form_name}[connect_to_container]" => params[:connect_to_container]
12+
"#{type.param_key}[connect_to_container]" => params[:connect_to_container]
1313
), :target=> "_top" %></li>
1414
<% end %>
1515
</ul>

todo_v4.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ ruby -Ilib -Itest test/unit/models/content_type_mini_test.rb --name=/available_b
1313
- DSL for mapping groups to temp users.
1414
- Groups should have purpose/description field. Explain who this group represents.
1515
- Groups should have 'external' user flag to prevent deletion.
16-
* Multisite (for larger sites)
1716
* User Management[Devise?]
1817
- Built in 'Temp' users (store arbitrary attributes in session)
1918
- Forgot Password (for admins)
@@ -25,16 +24,8 @@ ruby -Ilib -Itest test/unit/models/content_type_mini_test.rb --name=/available_b
2524
* Can't edit the root section
2625

2726
## Admin Menu
28-
* Reduce the different admin layouts (why are there so many?)
29-
* Need to highlight active tab
30-
* Need to highlight the active menu item
3127
* Enforce link security for menus
3228

33-
## New Features to implement
34-
35-
* Implement search
36-
* Implement notifications
37-
3829
## UI Open Issues
3930

4031
Things that need to be updated in the CSS for the new UI.

0 commit comments

Comments
 (0)