Commit 14615aabcc664a85961eaa3ce9f8f45b2b8acd21

Authored by Antonio Terceiro
1 parent 271966ba

ActionItem837: identifying screens without blocks

In the case where no blocks are presented, wrap the content with a div
that identifies that fact. This way designers can add special formatting
for those screens that should not applied to regular screens (those that
do have the blocks).
Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
app/views/layouts/application.rhtml
... ... @@ -144,7 +144,9 @@
144 144 <% if uses_design_blocks? %>
145 145 <%= display_boxes(@controller.boxes_holder, yield) %>
146 146 <% else %>
147   - <%= yield %>
  147 + <div class='no-boxes'>
  148 + <%= yield %>
  149 + </div>
148 150 <% end %>
149 151 <% end %>
150 152  
... ...