Skip to content

Commit

Permalink
# [joomla#29281] Fix open div in com_content blog view (again). Than…
Browse files Browse the repository at this point in the history
…ks Kyle

and Andy
  • Loading branch information
andreatarr authored and infograf768 committed Sep 23, 2012
1 parent 50d803a commit bc0e63f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/com_content/views/category/tmpl/blog_item.php
Expand Up @@ -34,8 +34,9 @@
</ul>
</div>
<?php endif; ?>
<?php if ($params->get('show_title')) : ?>
<?php if ($params->get('show_title') || $this->item->state == 0 || ($params->get('show_author') && !empty($this->item->author ))) : ?>
<div class="page-header">
<?php if ($params->get('show_title')) : ?>
<h2>
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"> <?php echo $this->escape($this->item->title); ?></a>
Expand All @@ -44,6 +45,7 @@
<?php endif; ?>
</h2>
<?php endif; ?>

<?php if ($this->item->state == 0): ?>
<span class="label label-warning"><?php echo JText::_('JUNPUBLISHED'); ?></span>
<?php endif; ?>
Expand All @@ -62,6 +64,7 @@
<?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?>
<?php endif; ?>
</small>
<?php endif; ?>
</div>
<?php endif; ?>

Expand Down
1 change: 1 addition & 0 deletions installation/CHANGELOG
Expand Up @@ -30,6 +30,7 @@ $ -> Language fix or change
$ Improving ta-IN installation ini
# [#29285] String Last Updated appears twice in frontend. Thanks Stella.
# [#29244] *Blocked/unblocked activated/not activated not displaying in user manager. Thanks Yannick
# [#29281] Fix open div in com_content blog view (again). Thanks Kyle and Andy

22-Sep-2012 Mark Dexter
# [#28764] user notes category is not properly nested in the assets table. Thanks Elin.
Expand Down

0 comments on commit bc0e63f

Please sign in to comment.