<?php echo $this->escape($comment->comment); ?> </div> <div class="clearfix"></div> <div class="well well-sm clearfix"> <div class="pull-left"> <?php $profile = JHtml::_('userideas.profile', $this->socialProfiles, $comment->user_id); echo JHtml::_('userideas.publishedByOn', $comment->author, $comment->record_date, $profile); ?> </div> <div class="pull-right"> <?php if (UserIdeasHelper::isValidOwner($this->userId, $comment->user_id) and $this->canEditComment) { ?> <a class="btn btn-default btn-sm" href="<?php echo JRoute::_(UserIdeasHelperRoute::getDetailsRoute($this->item->slug, $this->item->catid) . '&comment_id=' . (int) $comment->id); ?> #ui-comment-form"> <span class="fa fa-edit"></span> <?php echo JText::_('COM_USERIDEAS_EDIT'); ?> </a> <?php } ?> </div> </div>
?> " > <i class="icon-comment"></i> <?php echo JText::_("COM_USERIDEAS_COMMENTS"); ?> <?php echo "( " . $commentsNumber . " )"; ?> </a> <?php } ?> <?php if (UserIdeasHelper::isValidOwner($this->userId, $item->user_id) and $this->canEdit) { ?> <a class="btn btn-small" href="<?php echo JRoute::_(UserIdeasHelperRoute::getFormRoute($item->id)); ?> " > <i class="icon-edit"></i> <?php echo JText::_("COM_USERIDEAS_EDIT"); ?> </a> <?php } ?> </div> </div>