enhanced the issue view to show the icon of the current owner

This commit is contained in:
hyung-hwan 2016-04-28 11:26:19 +00:00
parent 7e0f4363b9
commit e49e69a84e

View File

@ -1009,6 +1009,9 @@ function print_issue_state ($con, $issue, $old, $issue_type_array, $issue_status
</ul> </ul>
<?php <?php
$user_icon_url = codepot_merge_path (site_url(), '/user/icon/' . $this->converter->AsciiToHex($issue->owner));
print "<img src='{$user_icon_url}' class='codepot-committer-icon-24x24' /> ";
if (!empty($related_code_revisions)) if (!empty($related_code_revisions))
{ {
print '<ul id="issue_show_coderev_list" class="codepot-horizontal-list">'; print '<ul id="issue_show_coderev_list" class="codepot-horizontal-list">';