Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Update quicksearch.html.php
Browse files Browse the repository at this point in the history
Fix icons in quick search
  • Loading branch information
sarahkemp committed Jul 29, 2020
1 parent 56f1119 commit 7167113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules/search/templates/quicksearch.html.php
Expand Up @@ -22,7 +22,7 @@
<?php if ($search_object->getTotalNumberOfIssues() > 0): ?>
<?php foreach ($search_object->getIssues() as $issue): ?>
<?php if ($issue instanceof \thebuggenie\core\entities\Issue): ?>
<li class="issue_<?php echo ($issue->isOpen()) ? 'open' : 'closed'; ?>"><div class="link_container"><?php echo image_tag($issue->getIssueType()->getFontAwesomeIcon(), ['class' => 'informal']); ?><a href="<?php echo make_url('viewissue', array('project_key' => $issue->getProject()->getKey(), 'issue_no' => $issue->getFormattedIssueNo())); ?>"><?php echo __('Issue %issue_no - %title', array('%issue_no' => $issue->getFormattedIssueNo(true), '%title' => $issue->getTitle())); ?></a></div><span class="informal"><?php if ($issue->isClosed()): ?>[<?php echo mb_strtoupper(__('Closed')); ?>] <?php endif; ?><?php echo __('Last updated %updated_at', array('%updated_at' => tbg_formatTime($issue->getLastUpdatedTime(), 6))); ?></span><span class="informal url"><?php echo make_url('viewissue', array('project_key' => $issue->getProject()->getKey(), 'issue_no' => $issue->getFormattedIssueNo())); ?></span><div class="informal extra"><?php echo __('Status: %status', array('%status' => '<span>'.$issue->getStatus()->getName().'</span>')); ?></div><?php if ($issue->isResolutionVisible()): ?><div class="informal extra"><?php echo __('Resolution: %resolution', array('%resolution' => '<span>'.(($issue->getResolution() instanceof \thebuggenie\core\entities\Resolution) ? $issue->getResolution()->getName() : '<span class="faded_out">'.__('Not determined').'</span>').'</span>')); ?></div><?php endif; ?><div class="informal extra attached"><?php echo fa_image_tag('comment'); ?><span class="num_attachments"><?php echo $issue->countComments(); ?></span><?php echo fa_image_tag('paperclip'); ?><span class="num_attachments"><?php echo $issue->countFiles(); ?></span></div></li>
<li class="issue_<?php echo ($issue->isOpen()) ? 'open' : 'closed'; ?>"><div class="link_container"><?php echo fa_image_tag($issue->getIssueType()->getFontAwesomeIcon(), ['class' => 'informal']); ?><a href="<?php echo make_url('viewissue', array('project_key' => $issue->getProject()->getKey(), 'issue_no' => $issue->getFormattedIssueNo())); ?>"><?php echo __('Issue %issue_no - %title', array('%issue_no' => $issue->getFormattedIssueNo(true), '%title' => $issue->getTitle())); ?></a></div><span class="informal"><?php if ($issue->isClosed()): ?>[<?php echo mb_strtoupper(__('Closed')); ?>] <?php endif; ?><?php echo __('Last updated %updated_at', array('%updated_at' => tbg_formatTime($issue->getLastUpdatedTime(), 6))); ?></span><span class="informal url"><?php echo make_url('viewissue', array('project_key' => $issue->getProject()->getKey(), 'issue_no' => $issue->getFormattedIssueNo())); ?></span><div class="informal extra"><?php echo __('Status: %status', array('%status' => '<span>'.$issue->getStatus()->getName().'</span>')); ?></div><?php if ($issue->isResolutionVisible()): ?><div class="informal extra"><?php echo __('Resolution: %resolution', array('%resolution' => '<span>'.(($issue->getResolution() instanceof \thebuggenie\core\entities\Resolution) ? $issue->getResolution()->getName() : '<span class="faded_out">'.__('Not determined').'</span>').'</span>')); ?></div><?php endif; ?><div class="informal extra attached"><?php echo fa_image_tag('comment'); ?><span class="num_attachments"><?php echo $issue->countComments(); ?></span><?php echo fa_image_tag('paperclip'); ?><span class="num_attachments"><?php echo $issue->countFiles(); ?></span></div></li>
<?php endif; ?>
<?php endforeach; ?>
<?php if (!$search_object->hasQuickfoundIssues() && $search_object->getTotalNumberOfIssues() > $search_object->getNumberOfIssues()): ?>
Expand Down

0 comments on commit 7167113

Please sign in to comment.