diff --git a/app/helpers/boxes_helper.rb b/app/helpers/boxes_helper.rb index 9e1aab4..db9dee7 100644 --- a/app/helpers/boxes_helper.rb +++ b/app/helpers/boxes_helper.rb @@ -5,7 +5,7 @@ module BoxesHelper content + display_boxes_editor(@controller.boxes_holder) else maybe_display_custom_element(@controller.boxes_holder, :custom_header_expanded, :id => 'profile-header') + - if @controller.send(:uses_design_blocks?) and @controller.boxes_holder.boxes_limit > 0 + if @controller.send(:uses_design_blocks?) display_boxes(@controller.boxes_holder, content) else content_tag('div', diff --git a/public/designs/templates/nobars/config.yml b/public/designs/templates/nobars/config.yml deleted file mode 100644 index b29804f..0000000 --- a/public/designs/templates/nobars/config.yml +++ /dev/null @@ -1,3 +0,0 @@ -title: "No sidebars, only content" -description: "A template without bars, only content" -number_of_boxes: 0 diff --git a/public/designs/templates/nobars/stylesheets/style.css b/public/designs/templates/nobars/stylesheets/style.css deleted file mode 100644 index e69de29..0000000 --- a/public/designs/templates/nobars/stylesheets/style.css +++ /dev/null diff --git a/public/designs/templates/nobars/thumbnail.png b/public/designs/templates/nobars/thumbnail.png deleted file mode 100644 index 2ce3219..0000000 Binary files a/public/designs/templates/nobars/thumbnail.png and /dev/null differ diff --git a/public/designs/templates/nobars/thumbnail.svg b/public/designs/templates/nobars/thumbnail.svg deleted file mode 100644 index 4f03679..0000000 --- a/public/designs/templates/nobars/thumbnail.svg +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - diff --git a/public/designs/templates/nosidebars/config.yml b/public/designs/templates/nosidebars/config.yml new file mode 100644 index 0000000..36eef2f --- /dev/null +++ b/public/designs/templates/nosidebars/config.yml @@ -0,0 +1,4 @@ +name: "No Side Bars" +title: "No sidebars, only content" +description: "A template without sidebars, only content" +number_of_boxes: 1 diff --git a/public/designs/templates/nosidebars/stylesheets/style.css b/public/designs/templates/nosidebars/stylesheets/style.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/public/designs/templates/nosidebars/stylesheets/style.css diff --git a/public/designs/templates/nosidebars/thumbnail.png b/public/designs/templates/nosidebars/thumbnail.png new file mode 100644 index 0000000..e4870a3 Binary files /dev/null and b/public/designs/templates/nosidebars/thumbnail.png differ diff --git a/public/designs/templates/nosidebars/thumbnail.svg b/public/designs/templates/nosidebars/thumbnail.svg new file mode 100644 index 0000000..8e332c2 --- /dev/null +++ b/public/designs/templates/nosidebars/thumbnail.svg @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + -- libgit2 0.21.2