We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6890272 commit 5b741a1Copy full SHA for 5b741a1
components/com_content/tmpl/category/default_articles.php
@@ -152,7 +152,7 @@
152
<?php endif; ?>
153
<tbody>
154
<?php foreach ($this->items as $i => $article) : ?>
155
- <?php if ($this->items[$i]->condition == 2) : ?>
+ <?php if ($this->items[$i]->state_condition == 2) : ?>
156
<tr class="system-unpublished cat-list-row<?php echo $i % 2; ?>">
157
<?php else : ?>
158
<tr class="cat-list-row<?php echo $i % 2; ?>" >
@@ -197,7 +197,7 @@
197
<?php endforeach; ?>
198
199
200
- <?php if ($article->condition == 2) : ?>
+ <?php if ($article->state_condition == 2) : ?>
201
<span class="list-published label label-warning">
202
<?php echo JText::_('JUNPUBLISHED'); ?>
203
</span>
0 commit comments