1
0

Added Visible & Enabled to BlogPost

This commit is contained in:
2014-09-13 17:37:47 +02:00
parent 5c940826de
commit ff5ecbc144
10 changed files with 69 additions and 13 deletions

View File

@@ -29,6 +29,7 @@ $this->selectedNav = 'blog';
'date' => new DateTime($blogpost->Date),
'caption' => $blogpost->Title,
'link' => $blogpost->getLink(),
'stroked' => !($blogpost->Enabled && $blogpost->Visible),
]);
}
?>