Details improvements

This commit is contained in:
2017-01-13 09:15:15 -05:00
parent 9d0524dd72
commit 3ee9c11666
75 changed files with 21884 additions and 112 deletions
+9 -4
View File
@@ -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)
}