Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Update navigation.dark.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vvval committed Feb 9, 2016
1 parent db6912a commit 98a0a4a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/views/partials/navigation.dark.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
<div class="menu-list">
<?php
foreach ($section->getItems() as $item) {
if (!$item->isAllowed($vault->guard())) {
continue;
}

$uri = $vault->uri($item->getTarget());
$title = $vault->translate($item->getTitle());
echo "<a href=\"{$uri}\">{$title}</a>";
Expand All @@ -33,4 +37,4 @@
}
?>
</ul>
</div>
</div>

0 comments on commit 98a0a4a

Please sign in to comment.