Skip to content

Commit

Permalink
Added author thumbnail to issue display (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
samagragupta authored and Rishabh570 committed Sep 28, 2019
1 parent c28dedb commit 0368736
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/UI/issuesUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function insertIssue(issue, el) {
body += "<a class='label label-default' href='" + label.url + "' style='background:#" + label.color + ";'>" + label.name + "</a> ";
});
body += "</div>";
body += "<img src='https://github.com/"+ issue.user.login + '.png' + "' width='45px' height='45px' style='margin-right:15px;' >";
body += "<b>#" + issue.number + "</b> opened " + moment(issue.updated_at).fromNow() + " ";
body += "by <a href='https://github.com/" + issue.user.login + "'>" + issue.user.login + "</a>";
body += " <i class='fa fa-comment-o'></i> " + issue.comments;
Expand Down

0 comments on commit 0368736

Please sign in to comment.