app/views/constructor_pages/templates/index.haml in constructor-pages-0.3.3 vs app/views/constructor_pages/templates/index.haml in constructor-pages-0.4.0

- old
+ new

@@ -1,13 +1,13 @@ - content_for :page_title do - Шаблоны + =t :templates - content_for :actions do .span4.clearfix.text-right - = link_to 'Создать шаблон', new_template_path, :class => "btn btn-success btn-large" + = link_to "<i class='icon-plus icon-white'></i> #{t :new_template}".html_safe, new_template_path, :class => "btn btn-link btn-large" -%section.span8 - %ul#tree.treeview-gray +%section.b-tree.span8 + %ul - @roots.each do |root| - level = root.level - last_template = nil - root.self_and_descendants.each do |template| \ No newline at end of file