Details improvements
This commit is contained in:
@@ -50,13 +50,18 @@
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
<li>
|
||||
<a href="@page.Url">@page.Name</a>
|
||||
|
||||
<a href="@page.Url">
|
||||
@page.Name
|
||||
@if (library.IsProtected(page.id, page.path)) {
|
||||
<i class="fa fa-minus-circle fa-fw text-danger" aria-hidden="true"></i>
|
||||
}
|
||||
</a>
|
||||
|
||||
@* if the current page has any children *@
|
||||
@if (page.Children.Where("Visible").Any())
|
||||
{
|
||||
{
|
||||
@* Call our helper to display the children *@
|
||||
@childPages(page.Children)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user