Skip to content

Commit

Permalink
Replace "label" classes with the new "badge" ones
Browse files Browse the repository at this point in the history
  • Loading branch information
htmgarcia committed May 10, 2018
1 parent ea9364d commit dc77ed3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/com_content/tmpl/category/default_articles.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,17 +193,17 @@
<?php endif; ?>
<?php endif; ?>
<?php if ($article->state == 0) : ?>
<span class="list-published label badge-warning">
<span class="list-published badge badge-warning">
<?php echo JText::_('JUNPUBLISHED'); ?>
</span>
<?php endif; ?>
<?php if (strtotime($article->publish_up) > strtotime(JFactory::getDate())) : ?>
<span class="list-published label badge-warning">
<span class="list-published badge badge-warning">
<?php echo JText::_('JNOTPUBLISHEDYET'); ?>
</span>
<?php endif; ?>
<?php if ((strtotime($article->publish_down) < strtotime(JFactory::getDate())) && $article->publish_down != JFactory::getDbo()->getNullDate()) : ?>
<span class="list-published label badge-warning">
<span class="list-published badge badge-warning">
<?php echo JText::_('JEXPIRED'); ?>
</span>
<?php endif; ?>
Expand Down

0 comments on commit dc77ed3

Please sign in to comment.