<?php echo link_tag(make_url('viewissue', array('project_key' => $issue->getProject()->getKey(), 'issue_no' => $issue->getFormattedIssueNo())), $issue_title, array('class' => 'issue_open')); ?> <br> <span class="user"> <?php if (($user = $comment->getPostedBy()) instanceof \thebuggenie\core\entities\User) { ?> <?php echo __('%username (%buddy_name) said', array('%username' => $user->getUsername(), '%buddy_name' => $user->getBuddyname())); ?> <?php } else { ?> <?php echo __('Unknown user said'); ?> <?php } ?> : </span> <?php echo '<div class="timeline_inline_details">'; echo nl2br(tbg_truncateText(tbg_decodeUTF8($comment->getContent()))); echo '</div>'; ?> </td> </tr> <?php }
<ul class="simple_list wiki-find-articles-list"> <?php foreach ($articles as $article) { ?> <li style="margin-bottom: 0;"> <?php echo link_tag(make_url('publish_article', array('article_name' => $article->getName())), get_spaced_name($article->getName()), array('style' => 'font-size: 1.1em;')); ?> <br> <div class="faded_out"><?php echo __('Last updated %updated_at', array('%updated_at' => tbg_formatTime($article->getLastUpdatedDate(), 6))); ?> </div> <div class="article_preview"> <?php echo tbg_truncateText($article->getContent()); ?> </div> </li> <?php } ?> </ul> <?php } else { ?> <div class="faded_out" style="font-size: 1.3em;"><?php echo __('No articles found'); ?> </div> <?php
?> </h4> <ul class="simple_list"> <?php foreach ($issues as $issue) { ?> <?php if ($issue->hasAccess()) { ?> <li> <span class="faded_out smaller"><?php echo link_tag(make_url('project_dashboard', array('project_key' => $issue->getProject()->getKey())), image_tag($issue->getProject()->getSmallIconName(), array('class' => 'issuelog-project-logo'), $issue->getProject()->hasSmallIcon())); ?> </span> <?php echo link_tag(make_url('viewissue', array('project_key' => $issue->getProject()->getKey(), 'issue_no' => $issue->getFormattedIssueNo())), tbg_truncateText($issue->getFormattedTitle(true), 100)); ?> </li> <?php if (++$seen == 7) { break; } ?> <?php } ?> <?php } ?> </ul> <?php