Skip to content

Commit

Permalink
Modified like or unlike disabled text color.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakajima committed Apr 6, 2015
1 parent bb3ef5b commit d932098
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions View/Elements/BbsPosts/view_bbs_post.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<div class="row">
<div class="col-xs-6">
<?php if ($bbsSetting['useLike']) : ?>
<div class="inline-block text-success">
<div class="inline-block text-muted">
<?php if (! isset($bbsPost['like']) && $bbsPost['bbsPostI18n']['status'] === NetCommonsBlockComponent::STATUS_PUBLISHED) : ?>
<?php echo $this->element('Likes.like', array(
'likeCounts' => (int)$bbsPost['bbsPost']['likeCounts'],
Expand All @@ -80,7 +80,7 @@
<?php endif; ?>

<?php if ($bbsSetting['useUnlike']) : ?>
<div class="inline-block text-success">
<div class="inline-block text-muted">
<?php if (! isset($bbsPost['like']) && $bbsPost['bbsPostI18n']['status'] === NetCommonsBlockComponent::STATUS_PUBLISHED) : ?>
<?php echo $this->element('Likes.unlike', array(
'unlikeCounts' => (int)$bbsPost['bbsPost']['unlikeCounts'],
Expand Down

0 comments on commit d932098

Please sign in to comment.