Skip to content
This repository
  • 2 commits
  • 1 file changed
  • 0 comments
  • 1 contributor

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  view/shared/_tree_nodes.html
2  view/shared/_tree_nodes.html
@@ -19,7 +19,7 @@
19 19 <li class="tree_headers"><?=Inflections::humanize($tree_model->identifier)?></li>
20 20 <?endif?>
21 21 <?foreach($nodes as $node):?>
22   - <li class="tree_node tree_depth_<?=(count(explode("/",$node->permalink))-3)?> clearfix<?=$primval == $node->primval?' active':''?>" data-row-language="<?=$node->language?>" data-row-id="<?=$node->primval?>" data-sort-url="/<?=trim($controller,"/")?>/sort/<?=$node->parent_id?>" data-add-child-url="/<?=trim($controller,"/")?>/create/?<?=$node->table?>[parent_id]=<?=$node->revision?$node->find_master()->primval:$node->primval?>"
  22 + <li class="tree_node tree_depth_<?=$node->get_level();?> clearfix<?=$primval == $node->primval?' active':''?>" data-row-language="<?=$node->language?>" data-row-id="<?=$node->primval?>" data-sort-url="/<?=trim($controller,"/")?>/sort/<?=$node->parent_id?>" data-add-child-url="/<?=trim($controller,"/")?>/create/?<?=$node->table?>[parent_id]=<?=$node->revision?$node->find_master()->primval:$node->primval?>"
23 23 <?foreach($node->columns as $col_name => $col):?>
24 24 <?if($col[1]['info_preview'] && !in_array($col_name, $ignore_cols)):?>
25 25 <?$value = ((method_exists($node, "humanize"))?$node->humanize($col_name):$node->$col_name());?>

No commit comments for this range

Something went wrong with that request. Please try again.