1
0

Finished BlogPost

This commit is contained in:
2014-07-19 18:25:35 +02:00
parent c2a829ac6a
commit 09488796d8
6 changed files with 70 additions and 7 deletions

View File

@@ -15,8 +15,19 @@ $this->breadcrumbs = array(
<div class="container">
<div class="well markdownOwner" id="markdownAjaxContent">
<?php echo MsHtml::pageHeader("Blog", "My personal programming blog"); ?>
<div class="blogOwner well markdownOwner" id="markdownAjaxContent">
<?php echo ParsedownHelper::parse($model->Content); ?>
<div class="blogFooter">
<div class="blogFooterLeft">
<?php echo $model->Title; ?>
</div>
<div class="blogFooterRight">
<?php echo $model->getDateTime()->format('d.m.Y'); ?>
</div>
</div>
</div>
</div>

View File

@@ -55,15 +55,15 @@ $this->breadcrumbs =
); ?>
</div>
<div class="span3" style="display: none">
<div class="span3">
<?php
echo MsHtml::lead('Programs');
echo MsHtml::lead('BlogPosts');
echo MsHtml::stackedTabs(
[
['label' => 'Home', 'url' => '#'],
['label' => 'Profile', 'url' => '#'],
['label' => 'Messages', 'url' => '#'],
['label' => 'Show', 'url' => '/blog'],
['label' => 'Manage', 'url' => '/blog/admin'],
['label' => 'Create', 'url' => '/blog/create'],
]
); ?>
</div>