CC-2654: use id
- added id to navigation - using id instead of label
This commit is contained in:
parent
f1c311acb6
commit
f6f27bf0ff
|
@ -57,7 +57,8 @@ $pages = array(
|
||||||
'label' => 'Manage Media Folders',
|
'label' => 'Manage Media Folders',
|
||||||
'module' => 'default',
|
'module' => 'default',
|
||||||
'controller' => 'Preference',
|
'controller' => 'Preference',
|
||||||
'action' => 'directory-config'
|
'action' => 'directory-config',
|
||||||
|
'id' => 'managa_folder'
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => 'Stream Settings',
|
'label' => 'Stream Settings',
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</a>
|
</a>
|
||||||
<ul class="sub">
|
<ul class="sub">
|
||||||
<?php foreach ($page->getPages() as $sub) :
|
<?php foreach ($page->getPages() as $sub) :
|
||||||
if($isSaas && $sub->getLabel() == "Manage Media Folders"){
|
if($isSaas && $sub->getId() == "managa_folder"){
|
||||||
continue;
|
continue;
|
||||||
} ?>
|
} ?>
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Reference in New Issue